demo_scope1.py:
def myfunc(): x = 300 print(x) myfunc()
C:\Users\My Name>python demo_scope1.py
300