convert dict to string python

my_dict = {"Hello" : True, "World" : False}

Here is what the above code is Doing:
1. We create a dictionary called my_dict.
2. We print the dictionary.
3. We print the dictionary as a string.

The output of the above code is:
{‘Hello’: True, ‘World’: False}
{‘Hello’: True, ‘World’: False}

Notice that the output of the dictionary and the string are the same.