x = "Global Variable" def myfunc(): x = "Local variable" print("I am " + x) myfunc() print("I am " + x)