python programs

programs from byte of python book