WEEK 3: BRANCHING AND LOOPING

I. Tuesday, January 29

Functions wrap-up and conditional execution

Slides

Code Samples

see course files

Assigned

  1. Homework 1 (everything except part 1 due Tu, Jan 29)
    1. Option 1: Graphics
    2. Option 2: Audio

Readings and Resources

  1. Python for Everyone: Conditional Execution
    videos | textbook
  2. How to Think Like a Computer Scientist: Conditionals

II. Thursday, January 24

Looping, iteration, and repeating code

Slides

Code Samples

see course files

Readings and Resources

  1. Python for Everyone: Loops
    videos | textbook
  2. How to Think Like a Computer Scientist: Iteration

III. Tutorial

Practice with conditionals and loops