Obsolesence of <>

Darren New dnew at san.rr.com
Thu May 31 12:54:52 EDT 2001


D-Man wrote:
> The Pascal-ish inequality operator ('<>') has effectively been
> deprecated in favor of the Algol-ish (C-ish) inequality operator
> ('!=').

> if not ( 1 < input() < 10 ) :
>     print "You didn't enter a number between 1 and 10, try again"

Heh. Pascal is deprecated, but COBOL is still cool. ;-)

-- 
Darren New / Senior MTS & Free Radical / Invisible Worlds Inc.
       San Diego, CA, USA (PST).  Cryptokeys on demand.
     This is top-quality raw fish, the Rolls-Rice of Sushi!



More information about the Python-list mailing list