Program to check whether two numbers are equal or not.

In this python if else program, we will check whether two numbers are equal or not.

Steps to solve the program
  1. Take two numbers as input.
  2. Using an if-else statement check whether two numbers are equal or not.
  3. Print the output.
				
					num1 = 28
num2 = 88

if num1 == num2:
    print("The given numbers are equal")
else:
    print("The given numbers are not equal")
				
			

Output :

				
					The given numbers are not equal
				
			

Related Articles

check whether the input number is a cube of 3 or not.

check whether the given input is a complex type or not.

Leave a Comment