On January 21th at 14:15 UTC , progression through exercises will be unavailable for 10 minutes due to a planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Cyber Battle Game
Game elements
Main Game Loop
9. Step 6b – printing remaining lives
Final game




Create a function named print_lives(lives_left), which should print a line like this:

Lives left: A - 1, B - 2

Invoke the function just after you create the lives_left variable and at the end of the play_round() function.