Discuss / Python / 循环

循环

Topic source

stupid_seeker

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

L=['Bart','Lisa','Adam'] '''i=0 while i<len(L): print('Hello, ',L[i],'!') i +=1''' for name in L: print('Hello,',name,'!')


  • 1

Reply