diff --git a/sorts/bubble_sort.py b/sorts/bubble_sort.py index 9ff987fa9..e17fc3358 100644 --- a/sorts/bubble_sort.py +++ b/sorts/bubble_sort.py @@ -17,6 +17,9 @@ def bubble_sort(collection): >>> bubble_sort([-2, -5, -45]) [-45, -5, -2] + + >>> bubble_sort([-23,0,6,-4,34]) + [-23,-4,0,6,34] """ length = len(collection) for i in range(length-1):