+ 2
Can anyone please explain this line of code in Python ?
user_number = int(input("enter a number: ")) def fibbonacci(num): if num == 0 or num == 1: return num else: return fibbonacci(num - 2) + fibbonacci(num - 1) # can someone explain how this line working after second iteration for num in range(user_number + 1): print(fibbonacci(num)) #Thank You so much
1 ответ
+ 1
Do you know what is the fibonacci series?