You are viewing a single comment's thread. Return to all comments →
I did mine similarly, but with filter.
input() a = map(int, raw_input().split()) max_value = max(a) a = filter(lambda x: x != max_value, a) print max(a)
Find the Runner-Up Score!
You are viewing a single comment's thread. Return to all comments →
I did mine similarly, but with filter.