students = [["Kim", 90, 80], ["Lee", 90, 85], ["Park", 80, 95]] students.sort(key=lambda x: (-x[1], -x[2], x[0])) for student in students: print(student[0])
To embed this project on your website, copy the following code and paste it into your website's HTML: