sorry....never mind

Victor Louie vlouie at telusplanet.net
Wed Mar 7 08:14:19 CET 2001


found it...

The comparison operators <> and != are alternate spellings of the same
operator. != is the preferred spelling; <> is obsolescent.

...if anyone was wondering


"Victor Louie" <vlouie at telusplanet.net> wrote in message
news:DZkp6.18811$pF4.3015652 at news1.telusplanet.net...
> Hi,
>
> I was just wondering if any knew what <> does....I've got some sample code
> and can't figure out what's happening
>
> eg.
> x =10
> if x <> 10:
>  ....
>
> thanks
> Victor
>
>





More information about the Python-list mailing list