A
A
avion2017-12-31 22:38:46
Mobile development
avion, 2017-12-31 22:38:46

Operator difference in Python?

Hello, what is the difference between <> and != operator in Python?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
artem78, 2017-12-31
@avion123678

These operators do the same thing, but <>are deprecated and missing in Python 3.

R
rudikov, 2017-12-31
@rudikov

There are two not equals operators in Python2. You brought them and there is no difference between them.
Python 3 does not have the <> operator. The "not equal" operator in Python 3 is only denoted as !=

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question