摘要: range()函数 1.描述 Python3 range() 函数返回的是一个可迭代对象(类型是对象),而不是列表类型, 所以打印的时候不会打印列表。 range()函数与列表切片在使用上原理相似 2.语法 range(stop) range(start, stop[, step]) 3.参数 st 阅读全文
posted @ 2021-12-28 16:53 ZghzzZyu 阅读(393) 评论(0) 推荐(0)