题解 | #淘汰排名最后的学生#
淘汰排名最后的学生
https://www.nowcoder.com/practice/d7cc81fa615c4231b5f86c97e5b275b4
student = input() student_list = student.split() n = 1 while n <= 3: student_list.pop(-1) n += 1 print(student_list)
淘汰排名最后的学生
https://www.nowcoder.com/practice/d7cc81fa615c4231b5f86c97e5b275b4
student = input() student_list = student.split() n = 1 while n <= 3: student_list.pop(-1) n += 1 print(student_list)
相关推荐