def count(): fs = [] for i in range(1, 4): def f(j): # def g(): return j*j # return g r = f(i) fs.append(r) return fsf1, f2, f3 = count()print (f1(), f2(), f3()) print (f1(), f2(), f3())TypeError: 'int' object is not callable
添加回答
举报
0/150
提交
取消