6.100L | Fall 2022 | Undergraduate

Introduction to CS and Programming using Python

Lecture 3: Iteration

Topics: Program Flow: control flow, loops

Lecture Notes

Lecture 3: Iteration

Lecture 3 Code

Readings

Ch 2.5–2.8

Finger Exercise Lecture 3

Assume you are given a positive integer variable named N. Write a piece of Python code that prints hello world on separate lines, N times. You can use either a while loop or a for loop.

6.100L Finger Exercises Lecture 3 Solutions

Recitation 2

Recitations were smaller sections that reviewed the previous lectures. Files contain recitation notes and worked examples in code.

Recitation 2 Notes and Code

Course Info

Instructor
As Taught In
Fall 2022
Learning Resource Types
Lecture Videos
Lecture Notes
Problem Sets
Programming Assignments with Examples
Readings
Recitation Notes