python function to do comparison between two numbers

def comparison(x,y)-> int:
    if x > y:
        result = x," is grater than ",y
    elif x < y:
        result = x," is less than ",y
    elif x == y:
        result = "Both numbers are equal are equal"
    return result
print(comparison(90,90))

Here is what the above code is Doing:
1. We have defined a function comparison(x,y) which takes two arguments.
2. We have used if, elif and else to compare the two numbers.
3. We have stored the result in a variable result.
4. We have returned the result.
5. We have printed the result.