Discuss / Python / 简短才是王道

简短才是王道

Topic source

Sir__Humphrey

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

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


  • 1

Reply