How can I add new keys to a dictionary?

前端 未结 16 2646
梦毁少年i
梦毁少年i 2020-11-22 00:40

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.

16条回答
提交回复
热议问题