why are we using double equal sign ?
The = and == operators make variable assignment and equality check different.
x = 6
if x == 6:
print(“The value x is equal to 6”)
The single equals sign is used for setting a value (a = 2), while the double equals sign is used to compare values (if a == 2:).