You are viewing a single comment's thread. Return to all comments →
lol i did same, I'm a total noob, here's my solution:
if __name__ == '__main__': n = int(raw_input()) arr = map(int, raw_input().split()) largest=0 for num in arr: if num > largest: largest = num found=0 for num in arr: if num > found and num < largest: found = num print found
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 →
lol i did same, I'm a total noob, here's my solution: