Run
myDict = { 'foo':12, 'bar':14 } #update value for key 'foo' myDict['foo'] = 56 print(myDict)
Output