range

for i in range(1,5):
print(i)

输出:1,2,3,4

总结: range = [a,b) 

posted @ 2019-11-22 01:03  光与影3  阅读(106)  评论(0编辑  收藏  举报