First post from a Python newbiw
ilkeston at ntlworld.com
Sun Mar 2 22:36:30 CET 2008
Christoph Zwerschke wrote:
: Marc 'BlackJack' Rintsch schrieb:
:: On Sun, 02 Mar 2008 14:15:09 +0000, Steve Turner wrote:
::: Apart from doing something like
::: is there a better way of creating d??
:: a = [ * 3 for dummy in xrange(3)]
: Why not simply [*3]*3 ?
I've just tried that and it gives the same as my earlier b=[a,a,a]
More information about the Python-list