Below are list of operator that are used for comparison in python.

Comparison Operators in Python:

    • Operator Description
      < True If value of left operand is less than right one
      > True If value of right operand is less than left one
      == True If value of both operand is equal
      != True If value of both operand is not equal
      <= True If value of left operand is less than and equal to right one
      >= True If value of right operand is less than and equal to left one

    Â

     

       

         

           

             

              Â

                By SC

                Leave a Reply

                Your email address will not be published. Required fields are marked *