Computer Science, asked by reemasingh0803, 4 months ago

Write a program in python to print
fibonacci series upto 8 terms.​

Answers

Answered by shekharbhaladhare739
1

Answer:

#Python program to generate Fibonacci series until 'n' value.

n = int(input("Enter the value of 'n': "))

a = 0.

b = 1.

sum = 0.

count = 1.

print("Fibonacci Series: ", end = " ")

while(count <= n):

Similar questions