I am trying to pass a non-mutable integer argument from one function to other defined functions; what is my mistake?
问题 Suppose I have a chain of function calls. def func1( pick, arg1, arg2 ): if pick == 1: do stuff with arg1 and arg2 elif pick == 2: do other stuff with arg1 and arg2 return stuff that got done def func2( pick, arg1, arg2, arg3 ): if pick == 1: do stuff with arg1 and arg2 and arg3 elif pick == 2: do other stuff with arg1 and arg2 and arg3 return stuff that got done def func3( pick, func2, arg3 ): if pick == 1: do stuff with funcs and arg3 elif pick == 2: do other stuff with funcs and arg3