The "for loop" in programming is a construct that allows you to count with numbers. Counting in
programming often means automatically making a variable pass
through an entire sequence of numbers, one by one.
for variable=start,stop do BODY end
Move the mouse over a dotted box for more information.
Now you try. Try constructing a for loop that will count and display the count.
Type your code here:
See your results here:
Show a friend, family member, or teacher what you've done!
Here is a share link to your code:
Does your code work? Want to run it on your iPhone?
Here's your code:
Use [Control]-[C] (Windows) or [⌘]-[C] (MacOS) to copy your code.
Paste it using [Control]-[V] (Windows) or [⌘]-[V] (MacOS) into
Then click the "Use on iPhone" button that you'll see.