공부
[Python] map(dict) put
승가비
2020. 6. 27. 22:17
728x90
d = {}
d['mynewkey'] = 'mynewvalue'
https://stackoverflow.com/questions/1024847/how-can-i-add-new-keys-to-a-dictionary
How can I add new keys to a dictionary?
Is it possible to add a key to a Python dictionary after it has been created? It doesn't seem to have an .add() method.
stackoverflow.com
728x90