diff --git a/longest.py b/longest.py index 13d1a6b..0e630e2 100644 --- a/longest.py +++ b/longest.py @@ -1,4 +1,4 @@ -def find_longest(arr): +def find_longest(arr: list) -> str: longest = arr[1] for i in range(1, len(arr)): if len(arr[i]) > len(longest):