In this lab students work independently or collaboratively to develop a deeper understanding of using pre-defined and building custom functions within Python. Through the implementation and analysis of six functions, students practice creating docstrings to describe both the functionality of each function and the inputs associated with each function. Each function illustrates a particular core feature within Python (such as performing calculations, interpolating values, executing checksums). This lab is particularly useful for students with little experience writing functions and for those interested in more practice using pre-defined functions.
Incorporate pair programming by encouraging students to work together. One student should be the driver and the other the navigator as they work through problems.
Incorporates Student Choice through supporting collaboration among students while working on the lab and by providing additional training opportunities through CodingBat.