array constructor

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


Fredrik Lundh wrote:
> 
> Tom Holroyd <tomh at po.crl.go.jp> wrote:
> > m = [[0]*4]*4 doesn't work:
> 
> http://www.python.org/doc/FAQ.html#4.50
> 
> </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