Skip to content

Commit d111a9d

Browse files
committed
added return type
1 parent e8a7e4f commit d111a9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/arrays/max_and_min.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
>>> find_max_min([])
1212
"""
1313

14-
def find_max_min(arr):
14+
def find_max_min(arr: list[int]) -> tuple[int, int]:
1515
"""
1616
Returns the maximum and minimum elements of a list.
1717

0 commit comments

Comments
 (0)