def f1():
  x=6
  def f2():
    print x
  f2()
f2()
f1()
