Run
x = 'hello world - 0' def myFunction(): global x x = 'hello world - 1' print(x) myFunction() print(x)
Output