题解 | 淘汰排名最后的学生
淘汰排名最后的学生
https://www.nowcoder.com/practice/d7cc81fa615c4231b5f86c97e5b275b4
import sys
student = input()
student1 = student.split(' ')
student1.pop()
student1.pop()
student1.pop()
print(student1)
#就像这个残酷的世界一样,末位淘汰
淘汰排名最后的学生
https://www.nowcoder.com/practice/d7cc81fa615c4231b5f86c97e5b275b4
import sys
student = input()
student1 = student.split(' ')
student1.pop()
student1.pop()
student1.pop()
print(student1)
#就像这个残酷的世界一样,末位淘汰
相关推荐