为什么这样写不行?结果是None
def __call__(self, num):
a,b,F = 0, 1, []
F.append(a)
a, b = b, a + b
if len(F) == num:
return F
def __call__(self, num):
a,b,F = 0, 1, []
F.append(a)
a, b = b, a + b
if len(F) == num:
return F
2019-03-14
举报