Week 4 ยท 45-60 min
Repeating Things (Loops)
Why repeat code instead of copy-pasting
This slide covers "Why repeat code instead of copy-pasting" as part of Repeating Things (Loops). Read slowly and try the example in your own words. Why repeat code instead of copy-pasting is an important step in Coding Fundamentals. We use plain language and short steps so you can learn even on a slow or shared computer. Think of one real example from your school, work, or community.
Key point: Why repeat code instead of copy-pasting. Review this slide once more before moving on.
Slide 1 of 8
Practice
- Write 2-3 sentences about what you learned this week.
Key Terms
- Why repeat code instead of copy-pasting
- Why repeat code instead of copy-pasting
- The for loop, counting example
- The for loop, counting example
- The range() function
- The range() function
Week Summary
- Why repeat code instead of copy-pasting
- The for loop, counting example
- The range() function
- The while loop
Coming Next Week: Next: Lists