Formatting Python chapter