- 1
wtt am doing wrong in my code. i want to make fabonacci series through taking two input.but recursion is not working properly.
4 Antworten
+ 8
a=int(input(""))
print (" ")
b=0
d=0
c=1
print ("Fibonacci series :")
print ("0")
print ("1")
while (d<a):
d=b+c
b=c
c=d
if(d>a):
break
print(d)
+ 4
use this code:
+ 1
galaxy coding -use this code: WHICH CODE.
+ 1
but i want it to using with def function