結果 : handling input output exception in python