2-9的答案能不能这样写?
def count():
fs = []
for i in range(1, 4):
r = i * i
fs.append(r)
return fs
f1, f2, f3 = count()
print f1(), f2(), f3()
def count():
fs = []
for i in range(1, 4):
r = i * i
fs.append(r)
return fs
f1, f2, f3 = count()
print f1(), f2(), f3()
2019-07-14
举报