Python double Equality Sign
Why 100==100 equal True
1 answers ( 0 marked as helpful)
Hi Bamigbade!
Thanks for reaching out.
The purpose of the double equal sign ==
in Python is to compare values of two expressions or objects. It checks if the values are equal and returns a Boolean result (True or False). This is why 100==100
is True
.
Hope this helps.
Best,
Tsvetelin