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