Discuss / Python / for in 循环

for in 循环

Topic source

落寞斑马

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

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

hello, Bart ! hello, Lisa ! hello, Adam !


  • 1

Reply