1
I need through the index of a "column" matrix to access your row completely to be able to make changes in the indexes of this row. The part of collecting the indexes I managed, but I do not know how to access through this chosen index view the line completely.
list1 = [1, 6, 4, 4, 5]
Lista2 = [2, 2, 3, 4, 6]
list3 = [3, 9, 8, 7, 3]
list4 = [4, 7, 3, 8, 0]
matrix = [list1] + [Lista2] + [list3] + [list4]
column = [row[0] for row in matrix]
print(column)
So through the index [0] [1,2,3,4], if I choose 2[3] I need to return the values [9, 8, 7, 3] to then be able to exchange some number, 9 for 5 for example. I hope you were able to explain.
That’s right, there was a variable missing then.
– Acneto