Skip to content

Commit 26d0845

Browse files
committed
fixed long line error
1 parent 050824a commit 26d0845

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

data_structures/arrays/max_and_min.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ def find_max_min(arr: list[int]) -> tuple[int | None, int | None]:
2020
arr (list[int]): The list of numbers.
2121
2222
Returns:
23-
tuple[int | None, int | None]: (maximum, minimum), or (None, None) if the list is empty.
23+
tuple[int | None, int | None]: A tuple of (maximum, minimum),
24+
or (None, None) if the list is empty.
2425
"""
2526
if not arr:
2627
raise ValueError("find_max_min() arg is an empty list")

0 commit comments

Comments
 (0)