看下面一个例子就知道了
def func(d): print("this is func"); print(d); def func8(x): print(x); return func8; func(20)(9)
输出是:
this is func 20 9
简单明了
原文地址:https://www.cnblogs.com/yu-jie/p/9746528.html
时间: 2024-10-11 03:06:12
def func(d): print("this is func"); print(d); def func8(x): print(x); return func8; func(20)(9)
输出是:
this is func 20 9
简单明了
原文地址:https://www.cnblogs.com/yu-jie/p/9746528.html