You are viewing a single comment's thread. Return to all comments →
if __name__ == '__main__': students = [(input(), float(input())) for _ in range(int(input()))] scores = set(map(lambda x: x[1], sorted(students, key=lambda x: x[1]))) scores.remove(min(scores)) print(*sorted(map(lambda x: x[0], filter(lambda x: x[1] == min(scores), students))), 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 →