for i in range(1,10): print i # 打印 # 1 # 2 # 3 # 4 # 5 # 6 # 7 # 8 # 9 转载于:https://www.cnblogs.com/CodeTracker/p/4881139.html