L = ['Bart', 'Lisa', 'Adam']
for name in L:
print('hello,name!')
为什么运行出来时三行 hello,name!啊 哭了
而且老师给的代码中有的在我的Python中运行不了,在老师网页上那个运行器反而可以运行,好迷糊啊0 0
print('hello!',name) 引号中的字符都是直接输出
Sign in to make a reply
不要醉酒
L = ['Bart', 'Lisa', 'Adam']
for name in L:
print('hello,name!')
为什么运行出来时三行 hello,name!啊 哭了