Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #!/bin/python
  2.  
  3. current=3
  4. old1=1
  5. old2=2
  6.  
  7. def fib(num):
  8. while current < 4000000:
  9. print(current)
  10. temp=current
  11. old1-3
  12. old2=2
  13. current=old1+old2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement