Open Educational Resources

Document Type

Lecture or Presentation

Publication Date



The following topics are covered:

  • While Loops
  • For Loops
  • Nested loops
  • Break and continue
  • Loops else
  • enumerate()

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.


Lecture slides come in three formats, are are packed into Instructor_Materials.rar along with programs accompanying the lecture slides.

In-class work, HW assignment, assessment questions together with all the programs are in the ActivitiesAndAssignments.rar archive.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 4.0 License.



To view the content in your browser, please download Adobe Reader or, alternately,
you may Download the file to your hard drive.

NOTE: The latest versions of Adobe Reader do not support viewing PDF files within Firefox on Mac OS and if you are using a modern (Intel) Mac, there is no official plugin for viewing PDF files within the browser window.