Define and call a function inside another function : Function Inner « Function « Python
- Python
- Function
- Function Inner
Define and call a function inside another function

def f1():
x = 88
def f2(x=x):
print x
f2()
f1() # prints 88
Related examples in the same category