結果 : check if input is integer or float python