結果 : input error checking in python