#361. 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 (11) if <(x) > (49)> then change [score v] by (10) end change [score v] by (1)
# When the green flag is clicked
score = 0
x = 11
if x > 49:
score += 10
score += 1
let score = 0, x = 0;
// When the green flag is clicked
score = 0;
x = 11;
if (x > 49) {
score += 10;
}
score += 1;
💡 Not sure? Build it in Scratch and try it out.