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. 🔧
Tasks
- Complete the readings
- Complete the assignments
- Watch the short video on for loops.
- Watch the short video on lists
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 |