-1
test = "123213 32543543 52354 234 34"
a = test.split().append("sd")
print (a)
将上面的代码给我输出无后追加,而下面的代码将输出一个列表:为什么我不能直接在Python分裂
test = "123213 32543543 52354 234 34"
a = test.split()
a.append("sd")
print (a)
任何人都可以解释一下吗?谢谢。