Week 4 For Loops, Lists, and Testing

For loops and testing - What are the mechanistic structures by which we have the computer process information? How do we write robust code. ๐Ÿ”ง

Counter with recipe book open to recipe and spatulas. Photo by Jonny Gios on Unsplash

Tasks

Topic Intro

No.
Title
Slides
01 For Loops
02 Lists
03 Function Testing

Class Activities

Activity
Title
Date
Topic Intro For Loops Tue, 31 Jan
Topic Intro Lists Wed, 1 Feb
Topic Intro Function Testing Fri, 3 Feb
Lab 2 Contagion: Documentation and Testing Fri, 3 Feb

Assignments

Assignment
Title
Due
Due this week
R 02 How does it work? Sun, 5 Feb, 23:59 EST
Due next week
Lab 02 Contagion: documented Wed, 8 Feb, 23:59 EST
Lab 02 Contagion: with for loops (bonus practice) Wed, 8 Feb, 23:59 EST

Readings

๐Ÿ–‹ Writing Good Code by Python Like You Mean It Optional
๐Ÿ–‹ Pep8 Style guide Optional
๐Ÿ“– Think CS Py: Sections 4.4 and 4.5 For Loops Required
๐Ÿ“– Review: W3 Schools: Python Lists Required
๐Ÿ“Œ For Loops Cheatsheet Required
๐Ÿ“Œ Debugging Tip: Check your assumptions by Julia Evans Required