On Fri, 03 Jan 2014 20:47:16 -0500, Terry Reedy wrote:

> [0]*size] is fine for one row
> 
> towers = [[0]*size] for i in range(size)]
> 
> should do what you want for a 2-d array instead of the above.

  Right. Thank you also.

-- 
Best regards,     Wiktor Matuszewski
'py{}@wu{}em.pl'.format('wkm', 'ka') # email spam trap
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to