結果 : how to test if input is an integer in python