📅  最后修改于: 2022-03-11 14:46:07.288000             🧑  作者: Mango
代码示例2
myList = {"person1": 1, "person2": 1, "person3": 1}
myList["person2"] += 30
print(myList)
# {'person1': 1, 'person2': 31, 'person3': 1}