CodeLab Academy 📞 9936 6696
← List Scratch · Level 5: Repeat until Quiz · 25 points ← #441 #443 →

#442. How many times?

When the green flag is clicked, this script runs. What is the value of the **number** variable?
when green flag clicked
set [x v] to (0)
set [number v] to (0)
repeat until <(x) > (37)>
change [x v] by (12)
change [number v] by (1)
end

💡 Not sure? Build it in Scratch and try it out.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!