python check if string is float or integer