Monday, May 18, 2015

Equal To == - Python Tutorial

Equal To ==



 


Equal To ==


Equal to symbol == compares the object on the left to the object on the right if they are equal to one another than Python will return True and if the left is not equal to the right than Python will return False.


Equal To == Examples


#Equal To == Examples

>>> 5 == 5
True
>>> 5 == 6
False

If you have any questions about equal to == leave a comment below.


 



No comments:

Post a Comment