← Back to Exercises
➗

Operators â€ĸ Exercise 24 of 112

Level Up with +=

Easy⭐ 25 XP🏆 Your XP: 0

đŸŽ¯ Your Mission

Create a variable called lives with the value 3. Use += to add 2 more lives, then print lives.

🐍 main.pyTab = 4 spaces â€ĸ Ctrl+Enter = Run
â–ļ Output
Press â–ļ Run to see what your code does!