Find the Runner-Up Score!

  • + 15 comments

    Basically in one line :

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