Skip to content

Commit

Permalink
documented
Browse files Browse the repository at this point in the history
  • Loading branch information
Faaatman committed Oct 22, 2020
1 parent 2493a34 commit b2b14e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Python/Algorithms/Sorting-Algorithms/bucket_sort.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Bucket sort Python
def insertionSort(b):
for i in range(1, len(b)):
up = b[i]
Expand Down Expand Up @@ -31,7 +32,8 @@ def bucketSort(x):
x[k] = arr[i][j]
k += 1
return x


# Driver code
array = [0.678, 0.312, 0.912, 0.555, 0.432]
print("Array is: ")
print(array)
Expand Down

0 comments on commit b2b14e0

Please sign in to comment.