inserting into a list

John Salerno johnjsal at
Tue Mar 7 21:35:10 CET 2006

James Stroud wrote:

> Here is one my favorite examples of python intuitiveness:
> if something is not something_else:
>   do_whatever()
> Who would have thunk it?

That's actually one of the things that first surprised me about Python, 
that you can actually say "is not" in a programming language, and it 
reads like a sentence!  :)  (Not to mention 'and' and 'or')

More information about the Python-list mailing list