結果 : validate if input is integer python