Untitled
Anonymous
plain_text
09/30/2023 3:10 AM
224 B
20
Indexable
def find_max(nums):
max_num = float("-inf") # smaller than all other numbers
for num in nums:
if num > max_num:
# (Fill in the missing line here)
return max_numEditor is loading...