dictionary = dict( 1=“Some_value”) doesn't work., While dictionary = { 1 : “Some_Value” } does work?

前端 未结 0 815
礼貌的吻别
礼貌的吻别 2021-02-18 21:15

I was learning about dictionaries in python and it encountered a strange case when trying to initialize dictionaries using the built function.

Dictionary = dict( 1

相关标签:
回答
  • 消灭零回复
提交回复
热议问题