haibaraxx的个人博客分享 http://blog.sciencenet.cn/u/haibaraxx

博文

Python3: for loop

已有 1922 次阅读 2017-5-31 21:22 |个人分类:Python|系统分类:科研笔记| for, loop


脚本:

注释纠正:range(1,10,2) returns the intergers 1 to 9 with the step of 2.


输出结果:




https://wap.sciencenet.cn/blog-3031432-1058269.html

上一篇:Python3: while loop
下一篇:Python: 赋值
收藏 IP: 134.1.1.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-6-7 00:03

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部