[Tutor] True and 1 [was Re: use of the newer dict types]
Jim Mooney
cybervigilante at gmail.com
Sun Jul 28 00:13:11 CEST 2013
On 27 July 2013 14:02, Walter Prins <wprins at gmail.com> wrote:
> So, since lists are considered equal when the *values* of their
> corresponding elements are the same,
I would have avoided being marvelously wrong by remembering Guido is a
mathematician, and a set that contains an empty set contains one
member. I'll have to remember Pythonic thinking is mathematical next
time I'm puzzled. I'll evade your question, though, since I put all
the values in the interpreter and that's cheating ;') But its good to
know these nuts and bolts. It might help avoid disaster at a later
time. That, and I'm going to use bool and the interpreter until I'm
dead clear on something.
Jim
More information about the Tutor
mailing list