标签:append int class span pytho div func 闭包 基础
def func(): n = [] def func2(): n.append(len(n)) print(‘fnuc2:%d‘%len(n)) return func2 f = func() f() f() f()
标签:append int class span pytho div func 闭包 基础
原文地址:https://www.cnblogs.com/vigogogogo/p/12923157.html