'''iterator that yields numbers in the Fibonacci sequence''' def __init__(self, max): self.max = max def __iter__(self): self.a = 0 self.b = 1 return self
確定! 回上一頁