L = ['Bart', 'Lisa', 'Adam']
for name in L:
print('hello,',name,'!')
n=0
while n<3:
print('hello',L[n],'!')
n=n+1
Sign in to make a reply
斜阳漫山红
L = ['Bart', 'Lisa', 'Adam']
for name in L:
print('hello,',name,'!')
n=0
while n<3:
print('hello',L[n],'!')
n=n+1