🌈 搜索
📅  最后修改于: 2022-03-11 14:46:02.400000             🧑  作者: Mango
>>> dict.fromkeys(range(1, 4)) {1: None, 2: None, 3: None} >>> dict(zip(range(1, 4), range(1, 4))) {1: 1, 2: 2, 3: 3}