Discuss / Python / 循环

循环

Topic source

Joeson同学

#1 Created at ... [Delete] [Delete and Lock User]

L = ['Bart', 'Lisa', 'Adam'] for i in L: print('hello,%s!'%i)

print: hello,Bart! hello,Lisa! hello,Adam!


  • 1

Reply