Add one or more layers of functions to a function
def f1(): # todo pay attention to the indentation of the code def f2(): def f3(): print ( ' c ' ) f3() print('b') f2() print('a') f1 ()
Add one or more layers of functions to a function
def f1(): # todo pay attention to the indentation of the code def f2(): def f3(): print ( ' c ' ) f3() print('b') f2() print('a') f1 ()