結果 : check if string is int or float python