Lecture or Presentation
The following topics are covered:
- While Loops
- For Loops
- Nested loops
- Break and continue
- Loops else
Applications: Turtle library with loops and decision procedures.
Prior knowledge of variables, assignments, expressions, input-output, lists, and conditionals is recommended.
For CS0 students. Part of the CUNY CS04All project.
Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 4.0 License.
Novak, Natalia, "Python loops" (2019). CUNY Academic Works.