题解 | #增加派对名单(一)#
增加派对名单(一)
https://www.nowcoder.com/practice/d3d9737be17d44a7919e3a03e8087270
x = input().split()
x.append("Allen")#list.append 是没有返回值的
print(x)
如果是在头插入则
y = "Allen"+x
增加派对名单(一)
https://www.nowcoder.com/practice/d3d9737be17d44a7919e3a03e8087270
x = input().split()
x.append("Allen")#list.append 是没有返回值的
print(x)
如果是在头插入则
y = "Allen"+x
相关推荐