You are viewing a single comment's thread. Return to all comments →
set1 = set(arr) max_value = max(set1) runner = max(i for i in set1 if i<max_value) print(runner)
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Find the Runner-Up Score!
You are viewing a single comment's thread. Return to all comments →