Let's write a program that uses a lives variable to keep track of lives left in a video game.