#range# list(range(5)) [0, 1, 2, 3, 4] list(range(3,6)) [3, 4, 5] list(range(3,6,2)) [3, 5] range和[ ]列表的切片一样左边闭区间右边开区间