Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a=0
- b=1
- n=readline()
- r=n==1?0:"0 1"
- for(i=2;i<n;i++){b+=a
- a=-a+b
- r+=" "+b
- }print(r)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement