You are viewing a single comment's thread. Return to all comments →
if __name__ == '__main__': score_dict = {} for _ in range(int(input())): name = input() score = float(input()) if score not in score_dict: score_dict[score] = [] score_dict[score].append(name) second_lowest_scores = sorted(score_dict.items())[1][1] for n in sorted(second_lowest_scores): print(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 →