#171. Two variables
When the green flag is clicked, this script runs. What is the value of the **a** variable?
when green flag clicked set [a v] to (12) set [b v] to (31) set [a v] to ((a) + (b))
# When the green flag is clicked a = 12 b = 31 a = a + b
let a = 0, b = 0; // When the green flag is clicked a = 12; b = 31; a = a + b;
💡 Not sure? Build it in Scratch and try it out.