Discuss / Python / 作业

作业

Topic source
在此插入代码

-- coding: utf-8 --

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

for版本

for i in L: print(1)

while版本

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


  • 1

Reply