Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from FibonacciIterator import Fibonacci_Iterator
- class Fibonacci:
- def __init__(self, max,x=0,y=1):
- self.max = max
- self.x = x
- self.y = y
- def __iter__(self):
- self.x = 0
- self.y = 1
- return self
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement