Answers for "how to create dictionary in python from string"

6

convert dict to string python

my_dict = {"Hello" : True, "World" : False}
print(str(my_dict))
Posted by: Guest on December-01-2020

Code answers related to "how to create dictionary in python from string"

Python Answers by Framework

Browse Popular Code Answers by Language