print Fibonacci series upto 10 terms in python program
Answers
Answered by
0
Explanation:
By default, the first two numbers of a Fibonacci series are 0 and 1.
INPUT FORMAT: ...
OUTPUT FORMAT: ...
SAMPLE INPUT: 7.
SAMPLE OUTPUT: 0 1 1 2 3 5 8.
PREREQUISITE KNOWLEDGE:while loop in Python and Recursion in Python. ...
Step 1:Input the 'n' value until which the Fibonacci series has to be generated.
Step 3:while (count <= n)
Similar questions