摘要: # range的参数: # 1)start: 开始 # 2) stop: end past one, 结束的数字大1 。 从数学区间理解为: [start,stop) 左闭右开 # 3)step: 步长, 默认步长为1。 # 例: range(0, 30, 5) # 步长为 5 # [0, 5, 1 阅读全文
posted @ 2025-03-17 15:27 kkman2000 阅读(19) 评论(0) 推荐(0)