1 2 3 4 5 6 7 8 9 10 11
from __future__ import nested_scopes from __future__ import division from __future__ import nested_scopes def f(x): def g(y): return y // x return g print f(2)(5)