‘==’ Equality Operator

The equality operator == produces a boolean value based on whether the left side is equal to the right side. If the values of two operands are equal, then the condition becomes true else false.

Suppose we have two numbers 3 and 5, both are obviously not equal. So, checking for equality condition  between these 2 numbers will be False. And if we have two numbers 3 and 3, both are equal. So the equality condition becomes True.

Please note that, the double equals sign == tests for equality, while the single equals sign = assigns the value on the right to the variable on the left.

```            # example 1
my_age = 10
your_age = 5
print(" Is my_age == your_age  ?" ,my_age == your_age)

# example 2
a = 10
b = 10
print(" Is a==b ? ",a==b)

# example 3
print(" Is 15 + 5 == 20 ? ",15 + 5 == 20)
```

Pythagoras theorem

The Pythagoras theorem states that for any right triangle with side lengths x, y, and z, x^2+y^2=z^2

Assume the lengths of the three sides of a triangle as x, y, and z, print True if the triangle is a right triangle, and False otherwise.

side1 = 3

side2 = 4

#hypotenuse
hypt = 5

```
```