写多了jsfor循环,python的有点不习惯。记录下。

# for 输出 0-9
  for a in range(10) :
      print(a)
 # for 输出1-10
  for a in range(1,11):
     print(a)

 

相关文章: