Week 6 ยท 45-60 min
Loops (for and while)
Week Summary
A quick preview of the main ideas in this week before you begin the slides.
- What Is a Loop?
- The for Loop
- Using range()
- The while Loop
Glossary
Review these key terms before starting this week. They are kept simple so students can learn the new vocabulary before moving into the slides.
- What Is a Loop?
- What Is a Loop?
- The for Loop
- The for Loop
- Using range()
- Using range()
What Is a Loop?
Progress
1 / 8
Repeat actions efficiently using loops.
Read one card at a time. Focus on the main idea first, then look at the visual on the right to help it stick.
Loops repeat a block of code multiple times.
They save you from writing the same code again and again.
Python has for loops and while loops.
Loops are essential for processing data efficiently.
You will see loops in almost every real program.
Remember
Loops help programs handle repetition efficiently and clearly.

What Is a Loop?
Slide 1 of 8
Use arrows or dots to move through the lesson
Practice
- Write 2-3 sentences about what you learned this week.
Coming Next Week: Next: Lists