Can I access python dictionary name with string?

后端 未结 0 582
盖世英雄少女心
盖世英雄少女心 2021-01-04 18:08

I have string "dict_1", and I have dictionary named dict_1.

x = "dict_1"
dict_1 = {"a": "b",         


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