Homework 2

Here’s the plan for the second homework assignment. It again involves exercises from the book.

From chapter 1: 19, 26

From chapter 2: 8, 15, 16, 17, 18, 20

However, if you feel quite Python-competent already, you can skip the chapter 1 exercises, and instead try out the chapter 2 exercise 24 (about Zipf’s Law). I think if you’re new to Python, ex. 24 will take a bit too much to work though, but I think it can end up being kind of interesting. I’ll talk about it anyway, but if you’re finding the chapter 1 exercises too simple, this one should be significantly less simple.