python ioexercise