i for i in range 定义索引

从小到大
index = [i for i in range(202)]
恒值
index = [1 for i in range(202)]

截取一段
index[0:140]

posted @ 2025-12-18 16:15  点影成金  阅读(16)  评论(0)    收藏  举报