Run
x = 10 def my_function(): x = 20 print(globals()) my_function()
Output