Python HackerRank 문제 9 - Nested Lists


Python HackerRank 문제 9 - Nested Lists

Python HackerRank 문제 9 - Nested Lists Nested Lists 풀이 if __name__ == '__main__': students = [] for _ in range(int(input())): name = input() score = float(input()) students.append([name,score]) second_high = sorted(set([i[1] for i in students]))[1] print("\n".join(sorted([i[0] for i in students if i[1] == second_high]))) * 출처 Nested Lists | HackerRank In a classroom of N students, find the student with the second lowest grade. www.hackerrank.com...


#HackerRank_NestedLists #Python #Python_HackerRank #Python_HackerRank_NestedLists #Python_NestedLists

원문링크 : Python HackerRank 문제 9 - Nested Lists