+ 2

How to print fibonacci series in python

21st Sep 2018, 6:48 AM
HARISH D UEE18127
HARISH D UEE18127 - avatar
4 Respuestas
+ 3
a simpler one , without recursion : a = 0 b = 1 for i in range(int(input())): print(a) a,b = b,a a += b
21st Sep 2018, 7:50 AM
RZK 022
RZK 022 - avatar
+ 1
to print series of numbers
21st Sep 2018, 6:56 AM
HARISH D UEE18127
HARISH D UEE18127 - avatar
0
Use this after function: i=0 while (i<10): #F(10) print(F(i)) i=i+1
21st Sep 2018, 7:05 AM
Lair