Why prefer != over <> for Python 3.0?

dewitters at gmail.com dewitters at gmail.com
Sun Mar 30 10:13:04 CEST 2008


On Mar 29, 6:34 pm, Lie <Lie.1... at gmail.com> wrote:
> You're forcing your argument too much, both != and <> are NOT standard
> mathematics operators -- the standard not-equal operator is >< -- and
> I can assure you that both != and <> won't be comprehensible to non-
> programmers.

What I meant was that both < and > are standard mathematics operators,
and that by that knowledge one could deduce what <> means. But ><
would also be fine by me :).



More information about the Python-list mailing list