Hello everyone!
I am an entry level beginner going through the “Learning Python” course. I’m about 40% through the course and decided to start a couple small projects just to use what I’ve learned so far.
I am trying to create a math quiz using equations set to random int’s with a random number generator. This is what I’ve got so far:
Here is my issue:
When I run the code, it starts with asking if you want to take the quiz. I type "yes’ and it will generate one of the three equations. When I give an answer, it takes me to the end of the code where it would give me the results.
How would I get it to continue to generate the rest of the equations? I’ve tried using my “elif” statements as individual “if” statements. I’ve tried putting “continue” after each of the “if” and “elif” blocks.
Thank you for you time!