CodeLab Academy 📞 9936 6696
← List Scratch · Level 3: Repeat loops Quiz · 15 points ← #281 #283 →

#282. Loop inside a loop

When the green flag is clicked, this script runs. What is the value of the **number** variable?
when green flag clicked
set [number v] to (0)
repeat (6)
repeat (5)
change [number v] by (1)
end
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!