mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-24 05:21:09 +00:00
fixed shell_sort
This commit is contained in:
parent
ca78a8a9af
commit
42e9b09fa4
|
@ -18,7 +18,7 @@ def shell_sort(collection):
|
|||
comparable items inside
|
||||
:return: the same collection ordered by ascending
|
||||
|
||||
>>> shell_sort([0, 5, 3, 2, 2)]
|
||||
>>> shell_sort([0, 5, 3, 2, 2])
|
||||
[0, 2, 2, 3, 5]
|
||||
|
||||
>>> shell_sort([])
|
||||
|
|
Loading…
Reference in New Issue
Block a user