fibterms = int(input("How many terms ===>")) # say how many fibonacci numbers do you want
fibOne = 0 # the first term
fibTwo = 1 # the second term
count = 0 # counts how many you want
if fibterms <= 0:
print("You entered a invalid integer") #tells you that you put a invalid integer
elif fibterms == 1:
print(fibOne)
else:
while count < fibterms:
print(fibOne)
fibth = fibOne + fibTwo
fibOne = fibTwo
fibTwo = fibth
count += 1