#!/usr/bin/python
#coding=utf-8
'''*************************************************************************
	> File Name: list_ifwhile.py
	> Author:李梦娇 
	> Mail:mengjao_liwang@yeah.net 
	> Created Time: 2017年12月07日 星期四 09时39分16秒
 ************************************************************************'''
namelist=["江辰","陈小希","吴柏松"]
'''for name in namelist:
    print(name,end=" ")
'''
length=len(namelist)
i=0
while i<length:
    print(namelist[i],end=" ")
    i+=1     
print("")

0e1ba57b075b1f2654d4a79352a1eb26922c5ecb
<mask token>

<mask token>
while i < length:
    print(namelist[i], end=' ')
    i += 1
print('')

<mask token>
namelist = ['江辰', '陈小希', '吴柏松']
<mask token>
length = len(namelist)
i = 0
while i < length:
    print(namelist[i], end=' ')
    i += 1
print('')

#!/usr/bin/python
#coding=utf-8
'''*************************************************************************
	> File Name: list_ifwhile.py
	> Author:李梦娇 
	> Mail:mengjao_liwang@yeah.net 
	> Created Time: 2017年12月07日 星期四 09时39分16秒
 ************************************************************************'''
namelist=["江辰","陈小希","吴柏松"]
'''for name in namelist:
    print(name,end=" ")
'''
length=len(namelist)
i=0
while i<length:
    print(namelist[i],end=" ")
    i+=1     
print("")
