#269. How many times?
When the green flag is clicked, this script runs. How many times in total will the cat say **"Meow"**?
when green flag clicked repeat (5) repeat (5) say [Meow] for (0.5) seconds end end
# When the green flag is clicked
for _ in range(5):
for _ in range(5):
print("Meow") # 0.5 seconds
// When the green flag is clicked
for (let i = 0; i < 5; i++) {
for (let j = 0; j < 5; j++) {
console.log("Meow"); // 0.5 seconds
}
}
💡 Not sure? Build it in Scratch and try it out.