Showing posts with label Python Relational Operators. Show all posts
Showing posts with label Python Relational Operators. Show all posts

Sunday, October 25, 2020

Relational Operators in Python

Pythons relational operator evaluate to a Boolean value True or False. Pythons relational operators are used for comparing objects. These values include

  • equality    :  ==

  • inequality :  !=

  • less than   :  <

  • greater than :  >

  • less than or equal to  : <=

  • greater than or equal to : >=

Operations on Python Dictionaries