Python bug? Indexing to matrices
clp2 at rebertia.com
Tue Jul 12 07:44:05 CEST 2011
On Mon, Jul 11, 2011 at 10:39 PM, David <davidbtdt at gmail.com> wrote:
> Should the following line work for defining a matrix with zeros?
> c= [*col]*row
> where "col" is the number of columns in the matrix and "row" is of
> course the number of rows.
Nope. See the FAQ:
More information about the Python-list