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