![]() |
#2
wp2319572020-03-14 17:04
回复 楼主 zhiyong75
|
def f():
x=[]
for i in 'abc':
x.append(i)
return x
print (x)
f()
为什么结果只是a而不是abc呢?多谢!