En Sat, 29 Mar 2008 16:24:01 -0300, Michael Wieher  
<[EMAIL PROTECTED]> escribió:

> to me it seems simple.
>
> C uses !=
>
> why does C use != .... because its kind of hard to type the "equal with a
> slash"

In C, ! by itself is the logical "not", so !(a==b) is the same as (a!=b)  
and that's rather consistent.
Python doesn't use ! for anything else; != is rather arbitrary but  
certainly much better than <> (for many objects < and > are meaningless;  
being equal or not equal has nothing to do with being less or greater)

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to