fixed shell_sort

This commit is contained in:
Harshil Darji 2016-08-17 17:21:40 +05:30
parent ca78a8a9af
commit 42e9b09fa4

View File

@ -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([])