Guest User

Untitled

a guest
Jan 23rd, 2019
64
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def Fib(i):
  2. l=[0,1]
  3. for i in range(0,i-2):
  4. m=l[i]+l[i+1]
  5. l.append(m)
  6. print(l)
  7.  
  8. a=int(input('How many fibonacci numbers to generate: '))
  9. Fib(a)
RAW Paste Data