home

Scientific Computing (Psychology 9040a)

Fall, 2020

Week 2: Control flow


Prep

  1. Read “Think Python”, Chapter 5

  2. Read “Python for Data Analysis”, Chapter 2.3

  3. read Holding a Program in One’s Head by Paul Graham

Practice Problems

  1. FizzBuzz
  2. Primes

Assignment

  1. Assignment 2 (A2) is due on Oct 6 by 11:59 pm (London ON time). Please submit your code on OWL.

Going Beyond (optional)