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 (574) [earned 5 cycles]
View Answer
ebest (574)

@kirbyfire

if a in ["a", "A"]:
    pass

Also:
USE

player_health -= 1