I think about when scrolling through the list finds the number 0 and make it number 1, but my problem is how do I scroll an array of an array. the indexes I think are just the lists of matrix.
matrix = [[1, 0, 0, 0, 1], # matrix[0] index [0, 0, 0, 0, 0], # matrix[1] index [0, 1, 0, 0, 0], # matrix[2] index [0, 1, 0, 0, 0]] # matrix[3] indexI should do something like that (I know my logic is wrong and my syntax is also)
for i in zip(*list_zombies_human): print(i) for j , n in i: if j == 1: i[n] = 0 print(j)