結果 : check if string is float or integer python