The code for book <A Byte of Python>