Beginner level (Python): when i try to run my compare function i don't get a the return i put in. : this is the compare function:

def compare(a, b):

    if a > b:
        return 1

    elif a == b:
        return 0

    else:
        return -1

    
a=int(input('Enter first number here:'))

b=int(input('enter second number here:'))

compare(a,b)

--------------------------------------------------------------------------------


when i run it, it prompts the user for a and b but after they are entered the program doesn't do anything it returns none. 