请问这段代码哪里有错误呢?运行不出来
def count(): fs = [] for i in range(1, 4): def f(x): return x=i*i fs.append(x) return fs f1, f2, f3 = count() print f1(), f2(), f3()
def count(): fs = [] for i in range(1, 4): def f(x): return x=i*i fs.append(x) return fs f1, f2, f3 = count() print f1(), f2(), f3()
2016-11-24
举报