We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f0b252 commit 0fa6c75Copy full SHA for 0fa6c75
codeflash/bubble_sort.py
@@ -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