Topics: Program Flow: control flow, loops
Lecture Notes
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.