for name in L: print('Hello ,',name,'!')
while 的方法
在此插入代码
n=len(L) i=0 while i<n : print('Hello,'+L[i]+'!') i=i+1
print错了。!和前面没有,
Sign in to make a reply
盒子鱼小姐
for name in L: print('Hello ,',name,'!')