You are viewing a single comment's thread. Return to all comments →
I too tried set and sort
n = int(input()) a = list(set([int(i) for i in input().split()])) print(sorted(a, reverse = True)[1])
Seems like cookies are disabled on this browser, please enable them to open this website
Find the Runner-Up Score!
You are viewing a single comment's thread. Return to all comments →
I too tried set and sort