Python核心编程

基础语法

  • 内建函数range()可生成列表
for eachNum in range(3):
    print eachNum
posted @ 2016-06-08 20:01  zjuhjm  阅读(216)  评论(0编辑  收藏  举报