python check if string is float or int