Skip to content

Commit ace7938

Browse files
committed
ensure stdout in E2E
1 parent 3fb49c3 commit ace7938

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

code_to_optimize/bubble_sort.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
def sorter(arr):
2+
print("codeflash stdout: Sorting array")
23
for i in range(len(arr)):
34
for j in range(len(arr) - 1):
45
if arr[j] > arr[j + 1]:
56
temp = arr[j]
67
arr[j] = arr[j + 1]
78
arr[j + 1] = temp
9+
print(f"result: {arr}")
810
return arr

0 commit comments

Comments
 (0)