Discuss / Python / 交作业

交作业

Topic source

Ryan_CL

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

L=['Bart','Lisa','Adam'] n=0 while n<=2: print('Hello,%s'%L[n]) n=n+1

L =['Bart','Lisa','Adam'] for x in L: print('Hello,%s'%x)


  • 1

Reply