We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 894eb2d commit e450313Copy full SHA for e450313
Basic Data Types/nested_lists.py
@@ -0,0 +1,8 @@
1
+if __name__ == '__main__':
2
+ scores = list()
3
+ for _ in range(int(input())):
4
+ scores.append([input(), float(input())])
5
+ scores.sort()
6
+
7
+second_min = sorted(list(set(score for name, score in scores)))[1]
8
+print("\n".join(i[0] for i in sorted(scores) if i[1] == second_min))
0 commit comments