An oddity in list comparison and element assignment

Fredrik Lundh fredrik at pythonware.com
Thu Jun 1 12:25:32 EDT 2006


michael.f.ellis at gmail.com wrote:

> As to containers,  would you say that envelope containing five $100
> bills is the same as an envelope containing a single $100 bill and 4
> xerox copies of it? If so, I'd like to engage in some envelope
> exchanges with you :-)

if you spent as much time *learning* stuff as you spend making up irrelevant examples,
you might end up learning how assignments, repeat operators, and references work in
Python.

it's only hard to understand if you don't want to understand it.

</F> 






More information about the Python-list mailing list