- 1

wtt am doing wrong in my code. i want to make fabonacci series through taking two input.but recursion is not working properly.

https://code.sololearn.com/cnIoAeUJ5o8p/?ref=app

8th Oct 2020, 3:51 PM
#challenger mg
#challenger mg - avatar
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)
9th Oct 2020, 12:31 AM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 4
use this code:
8th Oct 2020, 6:44 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 1
galaxy coding -use this code: WHICH CODE.
9th Oct 2020, 12:27 AM
#challenger mg
#challenger mg - avatar
+ 1
but i want it to using with def function
9th Oct 2020, 12:32 AM
#challenger mg
#challenger mg - avatar