Write a Python program to get the Fibonacci series between 0 to 50.


Topic: Write a Python program to get the Fibonacci series between 0 to 50.

Solution

x,y=0,1
while y<50:
print(y)
x,y = y,x+y



List all Python Programs