## Python Relational Operators

Python relational operators are used to compare values on the left-hand side and right-hand side and find the relation between them. Relational operators are also called comparison operators because they compare values on both sides to find the relation.

## Python Relational Operators

Relational operators in Python language are as follows:

Python Operator |
Name |
Description |

< |
Less than Operator | The < operator returns True if the left operand is less than the right operand. |

> |
Greater than Operator | The > operator returns True if the left operand is greater than the right operand. |

== |
Equal to Operator | The == operator returns True if both operands are equal. |

!= |
Not equal to Operator | The != operator returns True if both operands are not equal. |

>= |
Greater than or equal to Operator | The >= operator returns True if the left operand is greater than or equal to the right operand. |

<= |
Less than or equal to Operator | The <= operator returns True if the left operand is less than or equal to the right operand. |

—

## Python Tutorials

Python Tutorial on this website can be found at:

https://www.testingdocs.com/python-tutorials/

More information on Python is available at the official website: