Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/python
- current=3
- old1=1
- old2=2
- def fib(num):
- while current < 4000000:
- print(current)
- temp=current
- old1-3
- old2=2
- current=old1+old2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement