Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Re: Multi-dimensional list initialization (http://www.velocityreviews.com/forums/t954218-re-multi-dimensional-list-initialization.html)

Demian Brecht 11-05-2012 02:56 PM

Re: Multi-dimensional list initialization
 

On 2012-11-04, at 10:44 PM, Andrew Robinson <andrew3@r3dsolutions.com> wrote:
> but I think you meant:
>
> m = [[None] * 4, [None] * 4, [None] * 4, [None] *4 ]
> rather than:
> m = [[None] * 4, [None] * 4, [None] * 4, [None * 4]]


Yes, I meant the former, thanks for catching the typo.

Demian Brecht
@demianbrecht
http://demianbrecht.github.com






All times are GMT. The time now is 05:17 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.