• + 0 comments

    We can get rid of last two lines by running for loop on sorted list

    for name, score in sorted(l): if score == second_lowest: print(name)