Find the Runner-Up Score!

  • + 0 comments
    if __name__ == '__main__':
        n = int(input())
        arr = map(int, input().split())
        score = list(arr)
        flag=0
        if n>=2 and n<=10:
            if max(score)<=100 and min(score)>=-100:
                for i in range(0,(score.count(max(score)))):
                    score.remove(max(score))
        print(max(score))