Skip to content

Commit 4eccf3a

Browse files
committed
Add type annotations to odd_even_sort
1 parent 678dedb commit 4eccf3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorts/odd_even_sort.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"""
66

77

8-
def odd_even_sort(input_list: list) -> list:
8+
def odd_even_sort(input_list: list[int]) -> list[int]:
99
"""
1010
Sort input with odd even sort.
1111

0 commit comments

Comments
 (0)