Categories
Can't access list item?
I can not access the list element (fig2), initialization and filling on fig1 fig2 fig1
Answer the question
In order to leave comments, you need to log in
If you want to create a matrix with preset values, better use the following list generator: And the problem in your code is that ['0' * 5] = ['00000'] and not ['0', '0', ' 0', '0', '0'], so you can't refer to the 1st element.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question