From 37c1f5896e74e913b14d2510cfca58ddc49eff15 Mon Sep 17 00:00:00 2001 From: SiriAnisetti Date: Sun, 27 Oct 2024 10:14:55 +0530 Subject: [PATCH] Update bubbleSort.py --- bubbleSort.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bubbleSort.py b/bubbleSort.py index f421d0c..171fb15 100644 --- a/bubbleSort.py +++ b/bubbleSort.py @@ -6,5 +6,5 @@ def bubble_sort(arr): arr[j], arr[j + 1] = arr[j + 1], arr[j] return arr -print(bubble_sort([64, 34, 25, 12, 22, 11, 90])) # Expected: [11, 12, 22, 25, 34, 64, 90] -print(bubble_sort([3, 0, 2, 5, -1, 4, 1])) # Expected: [-1, 0, 1, 2, 3, 4, 5] +print(bubble_sort([64, 34, 25, 12, 22, 11, 90])) +print(bubble_sort([3, 0, 2, 5, -1, 4, 1]))