I got this code, I understood everything but I can't understand this "marks for name, marks in marksheet", What is meant by marks,for,name and marksheet, explain it briefly
marksheet = []
for i in range(0,int(input())):
marksheet.append([raw_input(), float(input())])
second_highest = sorted(list(set([marks for name, marks
in marksheet])))[1]
print('\n'.join([a for a,b in sorted(marksheet) if b ==
second_highest]))