Lecture: Abstracting with Functions

Slides

Readings

Code

Click on this lec_functions.zip link to download the .zip file to your computer. Unzipping the .zip file creates a folder containing the lec_functions.ipynb notebook for lecture activities, cs1graphics, and starter files for the fishtank exercise.

Solutions (for after class)

Use these sample solutions for review only after you have completed the code exercises. You will learn much more by trying them first and comparing your approach with the solutions.

I have made a genuine effort to complete the code exercises. Show me the solutions.