[Tutor] Using insert method on a list matrix

Lie Ryan lie.1296 at gmail.com
Mon Jul 20 19:16:22 CEST 2009

Raj Medhekar wrote:
> Thanks that works! But what if I wanted to modify 2 of the three lists
> in 2 different positions? Could you please let me know how I would go
> about doing that?

M[0].insert(2, 'foo')
M[2].insert(1, 'bar')

More information about the Tutor mailing list