Advertisement
lenyaplay

Untitled

Sep 27th, 2021
1,183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. n = 15
  2. last1 = 0
  3. last2 = 1
  4. print(last1)
  5. for i in range(0, n):
  6.     temp = last2
  7.     last2 = last1+last2
  8.     print(last2)
  9.     last1 = temp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement