Skip to content

Commit 37d0ae4

Browse files
committed
changed-2 - bubSort
1 parent 841ce45 commit 37d0ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bubble-sort/bubSort.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def bubSort(arr):
77
if arr[j] > arr[j+1]:
88
arr[j], arr[j+1] = arr[j+1], arr[j]
99

10-
arr = [4, 43, 22, 92, 78, 15, 50]
10+
arr = [5, 7, 1, 0, 6, 12, 11]
1111
print("Before Sorting, the array is:", arr)
1212

1313
bubSort(arr)

0 commit comments

Comments
 (0)