Python 20171115 Learning record
Traverse the list
Def travel (string):
Index = 0
While index < len (string):
Letter = string [index]
Print letter
Index = index + 1
A = "12ww1wwwwww"
Print travel (a)
Bogon:hhhhh zhouhaijun$ python py_02.py
one
two
W
W
one
W
W
W
W
W
W