l = ['Bart','Lisa','Adam'] for i in l : print('hello,'+i+'!')
print('hello,'+i+'!') 请问为啥加号代替i前后的逗号也可以?
for i in l: print('hello',i)
Sign in to make a reply
原么
coding=utf-8
l = ['Bart','Lisa','Adam']
for i in l :
print('hello,'+i+'!')