#This code returns a fibonacci sequence based on the value you enter.
value=int(input("Enter the number: "))
x=0
y=1
if value<=0:
print("Please enter a number greater than", x)
else:
#The end command is used to move to the next line.
k=print(x,y, end=" ")
for i in range(2,value):
z=x+y
print(z, end=" ")
x=y
y=z