# Lesson goal: Counting using for loops

Previous: The slope of a line | Home | Next: More for-loop counting

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

# Now you try. Try constructing a for loop that will count and display the count.

Show a friend, family member, or teacher what you've done!

1. Use [Control]-[C] (Windows) or [⌘]-[C] (MacOS) to copy your code.

2. Paste it using [Control]-[V] (Windows) or [⌘]-[V] (MacOS) into this page

3. Then click the "Use on iPhone" button that you'll see.