🌈 搜索
📅  最后修改于: 2022-03-11 14:47:16.257000             🧑  作者: Mango
A = [1, 2, 3, 4, 5] for i in range(len(A) - 1): value = A[i:i+2]