Hello and welcome to Python and the forums.
Next time use proper Python code tags, this time I added them for you.
What text do you enter when asked for input? Your if statements respond only to "yes" and "no" as an input. If you enter anything else (be it even "Yes", "YES", "No", "NO"...) the program will go over the checks and finish the program.
You should probably use if - elif - else to make your code more robust.
Next time use proper Python code tags, this time I added them for you.
What text do you enter when asked for input? Your if statements respond only to "yes" and "no" as an input. If you enter anything else (be it even "Yes", "YES", "No", "NO"...) the program will go over the checks and finish the program.
You should probably use if - elif - else to make your code more robust.