Re: Multi-dimensional list initialization
On 2012-11-04, at 10:44 PM, Andrew Robinson <firstname.lastname@example.org> 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.
|All times are GMT. The time now is 11:18 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.