is all numbers python code example Example: python check if number Click to copyif type(variable) == int or type(variable) == float: isNumber = True