9 lines
186 B
Python
9 lines
186 B
Python
def bubble_sort(list):
|
|
pass
|
|
|
|
|
|
|
|
|
|
assert bubble_sort([5,19,4,1,36,99,2]) == sorted([5,19,4,1,36,99,2])
|
|
assert bubble_sort(["Greg", "Armen", "Ken"]) == sorted(["Greg", "Armen", "Ken"])
|