how to check string number is what in pytho code example Example: python check if number if type(variable) == int or type(variable) == float: isNumber = True