kindle manager

This commit is contained in:
gavin
2020-08-14 08:38:29 +08:00
parent f2891bdc99
commit a3d0475525
17 changed files with 218 additions and 76 deletions

View File

@@ -68,12 +68,7 @@ class mTable():
return s
def __next__(self):
# self.a就是当前要迭代的值
result = self.a
# 计算斐波那契数列的下一个值并将a变成原来的b将b变成下一个值
self.a, self.b = self.b, self.a + self.b
# 返回当前迭代的值
return result
raise NotImplementedError
def __iter__(self):
return self