[Python]Python 使用 for 循环的小例子

[Python]Python 使用 for 循环的小例子:

In [7]: for i in range(5):
...: print "xxxx"
...: print "yyyy"
...:
xxxx
yyyy
xxxx
yyyy
xxxx
yyyy
xxxx
yyyy
xxxx
yyyy

原文地址:https://www.cnblogs.com/gaojian/p/7614577.html