这样做行么?
这样做行么?
def count():
def z():
fs = []
for i in range(1, 4):
a = i*i
fs.append(a)
return fs
return z
j= count()
print j()[0],j()[1],j()[2]
这样做行么?
def count():
def z():
fs = []
for i in range(1, 4):
a = i*i
fs.append(a)
return fs
return z
j= count()
print j()[0],j()[1],j()[2]
2016-01-11
举报