
- Python Basic Tutorial
- Python - Home
- Python - Overview
- Python - Environment Setup
- Python - Basic Syntax
- Python - Comments
- Python - Variables
- Python - Data Types
- Python - Operators
- Python - Decision Making
- Python - Loops
- Python - Numbers
- Python - Strings
- Python - Lists
- Python - Tuples
- Python - Dictionary
- Python - Date & Time
- Python - Functions
- Python - Modules
- Python - Files I/O
- Python - Exceptions
What is operation of <> in Python?
The <> operator is available in Python 2.x as not equal to operator. there is also != operator for the same operation. In Python 3.x, <> operator is deprecated.
Python 2.7
>>> a=5 >>> b=7 >>> a<>b True >>> a!=b True
Python 3
>>> a=5 >>> b=6 >>> a!=b True >>> a<>b SyntaxError: invalid syntax
- Related Articles
- What is the TFTP Operation?
- Python set operation.
- Database INSERT Operation in Python
- Database READ Operation in Python
- Database Update Operation in Python
- Database DELETE Operation in Python
- Commit & RollBack Operation in Python
- Tuple XOR operation in Python
- What is join operation in relational algebra (DBMS)?
- What is the basic operation of pandas Series.factorize() function?
- What is the basic operation of the series.eq() method in pandas?
- What is the basic operation of the series.equals() method in pandas?
- MongoDB profiler output: What is the “command” operation?
- What is the Time Reversal Operation on Signals?
- What is the Time Shifting Operation on Signals?

Advertisements