x = 1
y = True

def f():
    global x
    x = False
    y = 42
    print x
    print y


def g():
    x = 'hi'
    print x
    y = 'foo'
    print y

print y

@@ -141,16 +141,29 @@
  print y
+%0A    global x
 %0A%0Aprint 

change back