Code exercises from Learn Python The Hard Way by Zed Shaw.