Find the Runner-Up Score!

  • + 5 comments

    Even more Pythonic way to do it would be as follows:

    N = int(raw_input())

    arr = map(int, raw_input().split())

    print max([x for x in arr if x != max(arr)])