27 Program to check whether 2 no's are equal or not in Python

Program:

#program to check whether 2 no's are equal or not



x=int(input("Enter value of x:"))

y=int(input("enter value of y:"))



if(x-y==0):

    print("No's are equal")

else:

    print("unequal")


Output:


Previous
Next Post »