array constructor

Steve Holden sholden at
Mon Feb 28 08:16:39 CET 2000

Fredrik Lundh wrote:
> Tom Holroyd <tomh at> wrote:
> > m = [[0]*4]*4 doesn't work:
> </F>

Only slightly more verbose, and *much* kinder, than "RTFM"!

Not a bad question either, actually: -- wasn't Doug Hellmann
wanting questions for a Python "do you know it" test?

Not-sure-I'd-even-pass-the-driving-test-again-ly y'rs - Steve

"If computing ever stops being fun, I'll stop doing it"

More information about the Python-list mailing list