+ 1
Was on python 3 learning, project on fibo
How should I do the recursion fibo in python 3 course Given num = int(input()) Def Fibonacci(n) Fibonacci(num) Code I wrote # below function For n in range (num): If n == 0: return 0 else: return Fibonacci(n)+ Fibonacci(n-1) Code appear either no output, output 0, int type not iterable, max recursion depth exceeding. How should I solve this. Thanks
5 Antworten