Nov 11: Lists of Dictionaries
Meet in King 248
Learning Objectives
After today's class, you should be able to:
- Represent complex data using nested dictionaries and lists.
- Filter a list of dictionaries, and pull out the fields you need.
- Write code that computes a result from a described structure.
Lesson Outline
Presentation [10 min]
- Lists of dictionaries and introduction to JSON
Homework [15 min]
- SoDuckYou: Parts C, D, & E
Quiz 4, Take 2 [25 min]
Your To-Do List
- Required before Friday's class:
- PyTrail Chapters 16–19 (34 levels)
- Submit json file to Gradescope
- Required before Monday's class:
- Parts C, D, and E of PA4: SoDuckYou
- Don't use AI; visit TA Hours to get help