为什么for里面不能这样写
def count(): fs = [] for i in range(1, 4): 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): x=i*i fs.append(x) return fs f1, f2, f3 = count() print f1(), f2(), f3()
2016-05-13
举报