num1=int(input("enter the first integer: \n"))
num2=int(input("enter the second integer: \n"))
if (num1>num2):
    print("greatest number:",num1)
elif (num2>num1):
    print("greatest number:",num2)
else:
    print("both numbers are equal")
    

Embed on website

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