Find the Runner-Up Score!

  • [deleted]
    + 1 comment

    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))