From ce0a013ad70362f6bdd52165d5b6c61a1bc82ba2 Mon Sep 17 00:00:00 2001 From: Ishmeet-Singh-Saggu <40631164+Ishmeet-Singh-Saggu@users.noreply.github.com> Date: Sat, 27 Oct 2018 16:51:44 +0530 Subject: [PATCH] Update bubble_sort.py (#535) --- sorts/bubble_sort.py | 3 +++ 1 file changed, 3 insertions(+) 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):