#434. Repeat until
When the green flag is clicked, this script runs. When the loop ends, what is the value of the **x** variable?
when green flag clicked set [x v] to (0) repeat until <(x) > (96)> change [x v] by (8) end
# When the green flag is clicked
x = 0
while not (x > 96):
x += 8
let x = 0;
// When the green flag is clicked
x = 0;
while (!(x > 96)) {
x += 8;
}
💡 Not sure? Build it in Scratch and try it out.