想了好久的题
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 fs f1, f2, f3 = count() print f1(), f2(), f3()
菜鸟一个,完全不理解这道题5555,大神可以讲讲吗,
f1, f2, f3 = count()这为什么都是999呢
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 fs f1, f2, f3 = count() print f1(), f2(), f3()
菜鸟一个,完全不理解这道题5555,大神可以讲讲吗,
f1, f2, f3 = count()这为什么都是999呢
2019-07-27
举报