You are viewing a single comment's thread. Return to all comments →
Nice solution. I think you could get rid of the list here second_highest = sorted(set([marks for name, marks in marksheet]))[1]
Nested Lists
You are viewing a single comment's thread. Return to all comments →
Nice solution. I think you could get rid of the list here second_highest = sorted(set([marks for name, marks in marksheet]))[1]