🌈 搜索
📅  最后修改于: 2022-03-11 14:45:10.587000             🧑  作者: Mango
s = 'abcdef' L = zip(s[::2], s[1::2]) # -> [('a', 'b'), ('c', 'd'), ('e', 'f')]