Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = 0
- b = 1
- c = 0
- while(b<1000):
- print(b)
- b = b+a
- a = b-a
- c = c+1
- if(b==0):
- b = b+1
- print('\n\n{} '.format(c))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement