Skip to content

Commit 0fa6c75

Browse files
committed
wip
1 parent 3f0b252 commit 0fa6c75

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

codeflash/bubble_sort.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
def mysorter(arr):
2+
print("codeflash stdout: Sorting list")
3+
arr.sort() # built-in Timsort, much faster than bubble sort
4+
print(f"result: {arr}")
5+
return arr
6+
7+
8+
mysorter([5, 4, 3, 2, 1])

0 commit comments

Comments
 (0)