L = ['Bart', 'Lisa', 'Adam']
for name in L:
print('Hello,',name,'!')
print('Hello, %s!' %name)
for i in L:
print('Hello, %s!' %i)
Sign in to make a reply
长日将尽
L = ['Bart', 'Lisa', 'Adam']
for name in L:
print('Hello,',name,'!')