There was an error while loading. Please reload this page.
1 parent a5c73c8 commit b43b358Copy full SHA for b43b358
1 file changed
sorts/comb_sort.py
@@ -41,7 +41,7 @@ def comb_sort[T: Comparable](data: list[T]) -> list[T]:
41
>>> comb_sort(["c", "a", "b"])
42
['a', 'b', 'c']
43
>>> comb_sort([2.5, -1, 0.0])
44
- [-1.0, 0.0, 2.5]
+ [-1, 0.0, 2.5]
45
>>> comb_sort([1, "a"])
46
Traceback (most recent call last):
47
...
0 commit comments