range 类似于列表,自定制数字范围的数字列表 r = range(10) #类似与列表[0,1,2,3,4,5,6,7,8,9]# print(r)for i in r: print(i) 程序员灯塔 转载请注明原文链接:range 喜欢 (0)