2018/05/15
[来源:菜鸟教程](http://www.runoob.com/python3/python3-examples.html)
#No.1
list = [1, 2, 3, 4]
it = iter(list)
for x in it:
print(x, end=" ")
resut:
d:\fly\Python (master -> origin)
λ python test.py
1 2 3 4
[来源:菜鸟教程](http://www.runoob.com/python3/python3-examples.html)
#No.1
list = [1, 2, 3, 4]
it = iter(list)
for x in it:
print(x, end=" ")
resut:
d:\fly\Python (master -> origin)
λ python test.py
1 2 3 4