Transfer practice · Use a numeric for loop to display 2, 3, and 4 in order. Change the starting number as well as the final limit.
v3 · Activity 1 of 1 · numeric-for · 3 min Runs here
Use a familiar idea in a different task. Read the changed requirement before running.
Use a numeric for loop to display 2, 3, and 4 in order. Change the starting number as well as the final limit.
2 3 4
Lines must stay in order. Spelling, capitalization and spaces inside a message matter.
for step = 1, 2 do
print(step)
endThe loop prints 1 and then 2, once for each value of step.
New syntax: for round = 1, 3 do, end
do begins the repeated block; end closes it. The loop variable changes for each repetition. A limit of 3 includes the number 3.
Select a word or symbol in this authored example. Your editor draft stays unchanged.
round 1, 3
round
This is a private experiment copy. It does not replace your answer or complete the activity.
Your output will appear here.
Replace this code with the starter? Download your draft to keep a copy.
Your output will appear here.
Sign in with RoCreators to save private progress across devices. Community verification is separate.