Skip to content

Commit f89f005

Browse files
Fixing condition
1 parent f869c62 commit f89f005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorts/bucket_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
def bucket_sort(myList, bucketSize=DEFAULT_BUCKET_SIZE):
2323
if(len(myList) == 0):
24-
print('You don\'t have any elements in array!')
24+
return myList
2525

2626
minValue = myList[0]
2727
maxValue = myList[0]

0 commit comments

Comments
 (0)