1:while 遍历
list = [10,20,30,40,50,60,70,80,90]
num = 0
while num< len(list) :
print(list[num],end=" ")
num +=1
2:for 遍历
for i in list : print(i,end = " ")
for i in range(0,len(list)) :
print(list[i],end = " ")
for i in range(-len(list),0) :
print(list[i],end = " ")