demo_variables_global.py:
x = "awesome" def myfunc(): print("Python is " + x) myfunc()
C:\Users\My Name>python demo_variables_global.py
Python is awesome