学习返回函数时候,python3打印报错in <module> print(callable(f1())),TypeError: 'list' object is not callable
def countr(): fs=[] for i in range(1,4): def f(): return i*i fs.append(f) return fs f1=countr() f2=countr() f3=countr() print(f1()) print(f2()) print(f3())