如何用python编写n次函数我知道如何将两个函数作为输入并输出其合成函数来合成两个函数,但如何返回合成函数f(f(…f(x)))?谢谢 def compose2(f, g): return lambda x: f(g(x ...2024-04-28 已阅读: n次