In this example I want to write jj,i,j in a list or array. In the first row the jj values, in the second row i and j in the third row.
rows = 4
cols = 6
jj = -1
for i in range(rows):
for j in range(cols):
jj += 1
How can I do it?
In this example I want to write jj,i,j in a list or array. In the first row the jj values, in the second row i and j in the third row.
rows = 4
cols = 6
jj = -1
for i in range(rows):
for j in range(cols):
jj += 1
How can I do it?