def f(x): def g(): x = \'abc\' print (\'x =\', x) def h(): z = x print (\'z =\', z) x = x + 1 print (\'x =\', x)