CodePudding user response:
Double parameters, a minus 1, a reduction of 2, process to want to cough up, to thinking, otherwise your brain will rustCodePudding user response:
def Fibonacci (n, a=0, b=1) :
If n & lt; 0:
Return
Print (a)
Fibonacci (n - 1, b, a + b)
Fibonacci (5)