結果 : check if input is int or float python