2
Help! How do you add lives in code!
kirbyfire (1)

Right now, I am starting to work on a project, (no animations, all just text), Can someone tell me how I can make a life system so If you get an incorrect answer, you lose a life? This is in Python. Thanks!

You are viewing a single comment. View All
Answered by ebest (408) [earned 5 cycles]
View Answer
1
kirbyfire (1)

@ebest I tested it out, but if I get a wrong answer, (but then get one correct and move on) and then do the same thing again, Then instead of having only one life, I have 2. How do I fix this? (If you can't understand my question, try getting one wrong and then correct twice in a row, then get it wrong. Instead of ending it it gives another chance.)