for name in L: print('hello,' + name +'!')
n=0 while n < len(L): print('Hello,' + L[n]) n = n+1
Sign in to make a reply
iLiDong
for循环
while循环