Back to tasks
Losing a life
BeginnerPython for kids 路 Lesson 12: Changing a variable
Problem Statement
A game hero has 3 lives. Take one away with lives = lives - 1 and print how many are left.
Output Format
One number - the result.
Examples
Example 1
Output
2