C
de
S
pace
Explore
Log In
Explore
Sign Up
Log In
taylorlarsson881
22.05.2026 11:43
0
Simple HTTP server
Pure Python, no deps
config.py
def bubble_sort(arr): n = len(arr) for i in range(n): for j in range(0, n-i-1): if arr[j] > arr[j+1]: arr[j], arr[j+1] = arr[j+1], arr[j] return arr print(bubble_sort([5, 3, 8, 1, 2]))
Idle
Try It
Clear
Log in
to leave a comment
Are you sure you want to delete this post?
Delete
Cancel