test value is integer or not in python code example Example: python is integer (1.23).is_integer() # Returns false