You are viewing a single comment's thread. Return to all comments →
Your cont won't work on input of 0 0 0 0 0
You would need to add below condition
if len(arr) > 0: print(max(arr))
Find the Runner-Up Score!
You are viewing a single comment's thread. Return to all comments →
Your cont won't work on input of 0 0 0 0 0
You would need to add below condition