题解 | #删除好友#
删除好友
https://www.nowcoder.com/practice/656f7d09fe9c4d78919e7cc2b4a19c81
s = input().split(" ") name = input() lst = [] for i in s: lst.append(i) lst.remove(name) print(lst)
删除好友
https://www.nowcoder.com/practice/656f7d09fe9c4d78919e7cc2b4a19c81
s = input().split(" ") name = input() lst = [] for i in s: lst.append(i) lst.remove(name) print(lst)
相关推荐