题解 | #淘汰排名最后的学生#
淘汰排名最后的学生
https://www.nowcoder.com/practice/d7cc81fa615c4231b5f86c97e5b275b4
s = input().split(" ") lst = [] for i in s: lst.append(i) for i in range(3): lst.pop() print(lst)
淘汰排名最后的学生
https://www.nowcoder.com/practice/d7cc81fa615c4231b5f86c97e5b275b4
s = input().split(" ") lst = [] for i in s: lst.append(i) for i in range(3): lst.pop() print(lst)
相关推荐