↻
⏵︎ Run
myDict = { 'foo':12, 'bar':14 } #add key:value to dictionary myDict['moo'] = 85 print(myDict)
Output