WAP to print first "n" Fibonacci number in python (can it be done other than using function ? If yes then please do in that method )
Answers
Answered by
0
Answer:
#creating an array in the function to find the nth number in fibonacci series. [0,1,1,...] As we know that the Fibonacci series is the sum of the previous two terms, so if we enter 12 as the input in the program, so we should get 144 as the output. And that is what is the result.
Similar questions