Stack Exchange
Stack Overflow
Questions
Tags
Users
About
Stack Overflow
Public
Questions
Tags
Users
About
How to make a dictionary with name being the string of different variable?
Asked
Dec 31 '22 at 16:48
Active
Dec 31 '22 at 16:48
Viewed
14 times
0
For example, I have the variable:
name_of_dic = 'abc'
And I want do get dictionary:
'abc' = {}
python
string
dictionary
asked Dec 31 '22 at 16:48
xyzunknown
11
1
https://stackoverflow.com/questions/5036700/how-can-you-dynamically-create-variables
–
Ganesh Kathiresan
Dec 31 '22 at 16:51
0 Answers
0