python examples in chapter1-10