You are viewing a single comment's thread. Return to all comments →
Code For Beginners:
marks=[] s=[] for _ in range(int(input())): name = input() score = float(input()) m=[] m.append(name) m.append(score) s.append(score) marks.append(m) s=list(sorted(set(s))) second_min=s[1] sec=[] for i in marks: if i[1]==second_min: sec.append(i[0]) sec.sort() for i in sec: print(i)
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 →
Code For Beginners: