結果 : check if a string is float or int python