I was trying to create a function so I thought of trying to make type function and here is what I tried:
def value_type(X):
    if X == int:
        print ("integer")
    elif X == str:
        print ("string")
    else: 
        print ("floating-point number")
Now I know what the mistake is here. It is that int and str are function not a value.
But the question is, what should I use instead of them?
 
    