python——for循环

时间:2020-02-02 11:31:22   收藏:0   阅读:50
# for循环
for i in range(10):
    print(i)

结果:

0
1
2
3
4
5
6
7
8
9
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!