Skip to content

Commit

Permalink
Revert "Fix build"
Browse files Browse the repository at this point in the history
This reverts commit 73be8cf.
  • Loading branch information
ChrisOwen101 committed Oct 10, 2024
1 parent 73be8cf commit c329e59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions longest.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
def find_longest(arr):
longest = arr[0]
longest = arr[1]
for i in range(1, len(arr)):
if len(arr[i]) > len(longest):
longest = arr[i]
return longest
return longest


if __name__ == "__main__":
Expand Down

0 comments on commit c329e59

Please sign in to comment.