Lesson 16: Visualizing fairness
Outline:
- Recap: file I/O
continue
keyword- Exercise 1
- Recap: top-down design
- dice games: Exercise 3 from Lesson 15
- Visualizing data with matplotlib
- Modeling probabilities
- flipping a fair coin
- flipping an unfair (weighted) coin
Explore after class:
- Generalizing code
- n-dice-rolling visualization: Exercise 2 Part d
- Modeling probabilities
- unfair dice: Exercise 3
Reading assignment (to be completed by the next class):
- Zelle sections 9.3-9.6 (pp. 288-307)
- Assignment #6 (due next Monday at 10pm)