Python Comparison Operators - LearnHowToCode SarkariResult.com Interview Questions and Answers LearnHowToCodeOnline
Python Comparison Operators

Python Comparison Operators


Python Comparison operators are used to comparing the value of the two operands and returns boolean true or false accordingly. The comparison operators are described in the following table.
Operator
Description
==
If the value of two operands is equal, then the condition becomes true.
!=
If the value of two operands is not equal then the condition becomes true.
<=
If the first operand is less than or equal to the second operand, then the condition becomes true.
>=
If the first operand is greater than or equal to the second operand, then the condition becomes true.
<> 
If the value of two operands is not equal, then the condition becomes true.
> 
If the first operand is greater than the second operand, then the condition becomes true.
< 
If the first operand is less than the the second operand, then the condition becomes true.



About Mariano

I'm Ethan Mariano a software engineer by profession and reader/writter by passion.I have good understanding and knowledge of AngularJS, Database, javascript, web development, digital marketing and exploring other technologies related to Software development.

0 comments:

Featured post

Political Full Forms List

Acronym Full Form MLA Member of Legislative Assembly RSS Really Simple Syndication, Rashtriya Swayamsevak Sangh UNESCO United Nations E...

Powered by Blogger.