Sep-11-2017, 06:56 AM
Is there any <> operator in python 3.6. if yes then give me example.
Is there any <> operator in python 3.6
|
Sep-11-2017, 06:56 AM
Is there any <> operator in python 3.6. if yes then give me example.
The
<> operator just means "not equal" which we already have covered with != .There is however a joke import that lets you use it but it shouldn't actually be used in real code. >>> from __future__ import barry_as_FLUFL >>> 2 <> 5 True >>> 2 <> 2 False >>>https://www.python.org/dev/peps/pep-0401/ |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Python greater than equal to comparison operator | Ilangos | 4 | 3,492 |
Sep-26-2020, 03:53 AM Last Post: buran |
|
Python logical operator AND | rasec70 | 4 | 3,689 |
May-07-2020, 03:40 PM Last Post: pyzyx3qwerty |
|
Use of & operator, groupby in python | abhi1693r | 0 | 2,078 |
Mar-11-2020, 02:25 PM Last Post: abhi1693r |
|
Comparison Operator "is" idle vs python command | spisatus | 3 | 3,602 |
Oct-29-2019, 10:00 PM Last Post: DeaD_EyE |