Exercises: Week 3: Functions & Booleans

These exercises are split into 3 notebooks (the download file linked below contains all 3):

  1. A_ex_lec_functions_continued contains some extra exercises on functions, to be worked on in the Functions 3 Lecture and/or Lab 3.
  2. B_ex_lab_functions_printing focuses on printing, and will be worked on in Lab 3.
  3. C_ex_lec_booleans introduces boolean logic, comparison operators, and predicates, and goes with the Intro to Booleans Lecture.

You should finish most of them before starting project 3 because they will help you succeed on that project.


Click on this ex03_functions_and_booleans.zip link to download the .zip file for this week to your computer. Unzip the downloaded ex03_functions_and_booleans.zip file (by double-clicking on it) to reveal a folder with the notebook file(s) for these exercises.


Once you have completed all exercises and the deadline has passed, you can find links to the solutions for each individual notebook via the Potluck dashboard.