Skip to content

Commit 36da640

Browse files
committed
Added bubble sort implementation with bad formatting in non-optimized sections of the file...
This is to test the new formatting changes
1 parent bcba527 commit 36da640

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
def lol():
2+
print( "lol" )
3+
4+
5+
6+
7+
8+
9+
10+
def sorter(arr):
11+
print("codeflash stdout: Sorting list")
12+
for i in range(len(arr)):
13+
for j in range(len(arr) - 1):
14+
if arr[j] > arr[j + 1]:
15+
temp = arr[j]
16+
arr[j] = arr[j + 1]
17+
arr[j + 1] = temp
18+
print(f"result: {arr}")
19+
return arr

0 commit comments

Comments
 (0)