You are viewing a single comment's thread. Return to all comments →
h= float('-inf') for i in arr: if i >h : sh =h h=i elif(i>sh and h!=i): sh=i print(sh)
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 →
h= float('-inf') for i in arr: if i >h : sh =h h=i elif(i>sh and h!=i): sh=i print(sh)