#407. 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) > (79)> change [x v] by (5) end
# When the green flag is clicked
x = 0
while not (x > 79):
x += 5
let x = 0;
// When the green flag is clicked
x = 0;
while (!(x > 79)) {
x += 5;
}
💡 Not sure? Build it in Scratch and try it out.