L = ['Bart', 'Lisa', 'Adam']
n=0
while n<len(L):
print('Hello,',L[n],'!')
n=n+1
for x in L:
print('Hello,{}'.format(x))
Sign in to make a reply
琪琪妈妈0512
L = ['Bart', 'Lisa', 'Adam']
n=0
while n<len(L):
print('Hello,',L[n],'!')
n=n+1