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))
Seems like cookies are disabled on this browser, please enable them to open this website
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