Discuss / Python / 作业

作业

Topic source

-- coding: utf-8 --

L = ['Bart', 'Lisa', 'Adam']

for循环

for x in L: print(x)

while循环

n=0 while n < len(L): print (L[n]) n=n+1


  • 1

Reply