def equal(a,b):
    if a == b:
        return True
    else:
        return False


a = int(input("Enter the first number: "))
b = int(input("Enter the second number: "))

if equal(a, b):
    print("Equal")
else:
    print("Not Equal")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: