You are viewing a single comment's thread. Return to all comments →
Nice. You could also unpack the list like this when printing in python3
print(*[a for a,b in sorted(marksheet) if b == second_highest], sep="\n")
Seems like cookies are disabled on this browser, please enable them to open this website
Nested Lists
You are viewing a single comment's thread. Return to all comments →
Nice. You could also unpack the list like this when printing in python3