inserting into a list
John Salerno
johnjsal at NOSPAMgmail.com
Tue Mar 7 15:35:10 EST 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