📜  python列表到元组对相邻 - Python代码示例

📅  最后修改于: 2022-03-11 14:47:05.981000             🧑  作者: Mango

代码示例1
[(x,y) for x,y in zip(myList, myList[1:])]