x = 10 y = 20 def foo(): pass g = globals() g['z'] = 100 print(z)