#166. Lives
When the green flag is clicked, this script runs. What is the value of the **lives** variable?
when green flag clicked set [lives v] to (7) change [lives v] by (-1) change [lives v] by (-1) change [lives v] by (2)
# When the green flag is clicked lives = 7 lives -= 1 lives -= 1 lives += 2
let lives = 0; // When the green flag is clicked lives = 7; lives -= 1; lives -= 1; lives += 2;
💡 Not sure? Build it in Scratch and try it out.