Find the Runner-Up Score!

  • + 1 comment

    Using list comprehension also works well, but I'm not sure about the efficiency!

    n = int(raw_input())
    arr = map(int, raw_input().split())
    print max([x for x in arr if x != max(arr)])