human
check if variable is float, int, boolean.
assistant
Here is a Python function to check if a variable is float, int, or boolean

import math

def is_float(x):
    """
    Checks if a variable is float
    :param x: variable
    :return: True if variable is float, False otherwise
    """
    return isinstance(x, float)

# Enter the variable
x = 1

# Calling the function
print((is_float(x)))

#Example Output
# False

#Remember to inspect code for bugs.