from IPython.display import clear_output
def leave():
yourAnswer = input("Would you like to try again? y for yes or n for no 👉 ")
if yourAnswer == "Y" or yourAnswer =="y":
(digits)
elif yourAnswer == "N" or yourAnswer == "n":
clear_output()
print("Run the program again if you have more questions.")
digits = int(input(" Enter a number"))
def fibSequence(digits):
fibOne = 0
fibTwo = 1
count = 0
fibList = 0
while count <= digits:
print(fibOne)
fibList = fibOne + fibTwo
fibOne = fibTwo
fibTwo = fibList
count = count + 1
fibSequence(digits)
leave()
def leave():
yourAnswer = input("Would you like to try again? y for yes or n for no 👉 ")
if yourAnswer == "Y" or yourAnswer =="y":
(digits)
elif yourAnswer == "N" or yourAnswer == "n":
clear_output()
print("Run the program again if you have more questions.")