Lecture: Abstracting with Functions
This deck of slides will be covered over three lectures. No need to try to read the entire material at once. Pace yourself. If you need some guidance, read until Local Variables for the first lecture, between Local Variables and Functions & Turtles for lecture 2, and the rest for lecture 3. Different sections might be slower or faster in covering the material.
Click on this lec03_04_05_functions.zip link to download the
.zip file to your computer.
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.