About 42,900 results
Open links in new tab
  1. Python Greater Than (>) Operator - Python Examples

    Python Greater Than operator is used to compare if an operand is greater than other operand. The syntax is operand_1 > operand_2. You can compare values of basic datatypes or sequences: like integers, floats, strings, lists, etc.

  2. Python Comparison Operators - W3Schools

    Python Comparison Operators. Comparison operators are used to compare two values:

  3. Comparison Operators in Python - GeeksforGeeks

    Jan 9, 2025 · The Greater Than Operator returns True if the left operand is greater than the right operand otherwise returns False. Example: In this code, we have two variables ‘a’ and ‘b’ and assigned them with some integer value.

  4. Python Comparison Operators with Syntax and Examples

    2. Python Greater Than (>) Operator. Let’s see the Greater than Python Comparison Operator. Now that we’ve seen which constructs we can apply these operators to, we will focus on the operators now on. The greater than an operator, denoted by >, checks whether the left value is greater than the one on the right. >>> 0.5>False. Output

  5. Python’s “>” and “>=” Operators: Explained Using Examples

    Nov 7, 2021 · The ‘>=’ operator, pronounced as “greater than or equal to”, is used to compare 2 objects and returns True if the 1st object is greater than the 2nd object or if the 1st object is equal to the 2nd object and returns False otherwise.

  6. Python Comparison Operators - Python Tutorial

    The greater than or equal to operator (>=) compares two values and returns True if the left value is greater than or equal to the right value. Otherwise, it returns False : left_value >= right_value Code language: Python ( python )

  7. Python Comparison Operators - Online Tutorials Library

    The comparison operators also called relational operators. Some of the well known operators are "<" stands for less than, and ">" stands for greater than operator. Python uses two more operators, combining "=" symbol with these two. The "<=" symbol is for less than or equal to operator and the ">=" symbol is for greater than or equal to operator.

  8. Python Operators - Python Guides

    Python operators are symbols that perform operations on variables and values. They are a fundamental part of the Python programming language and are essential for performing computations, comparisons, and logical operations. Types of Python Operators Arithmetic Operators. These operators are used for performing mathematical operations: + (Addition)

  9. Comparison Operators in Python

    Greater than Operator (>) in Python This operator checks if the left operand is greater than the right operand. And outputs “True” if it is else “False”.

  10. Python Greater-than - Tutorial Kart

    Python Greater-than Operator. In Python, Comparison Greater-than Operator takes two operands and returns a boolean value of True if the first operand is greater than the second operand, else it returns False. Syntax. The syntax to check if the value a is greater than the value b using Greater-than Operator is </>

  11. Some results have been removed
Refresh