python——for循环

# for循环
for i in range(10):
    print(i)

结果:

0
1
2
3
4
5
6
7
8
9
posted @ 2020-02-02 10:40  linux_zero  阅读(244)  评论(0)    收藏  举报