#314. Bonus
When the green flag is clicked, this script runs. What is the value of the **score** variable?
when green flag clicked set [score v] to (0) set [x v] to (10) if <(x) > (69)> then change [score v] by (10) end change [score v] by (1)
# When the green flag is clicked
score = 0
x = 10
if x > 69:
score += 10
score += 1
let score = 0, x = 0;
// When the green flag is clicked
score = 0;
x = 10;
if (x > 69) {
score += 10;
}
score += 1;
💡 Not sure? Build it in Scratch and try it out.