-3
E1 = input(). split()
E2 = input(). split()
Matri, numj = E1
name, idj = E2
matrix = [[0,0,0],[0,0,0],[0,0,0]] # I cannot make the matrix that is the user’s choice, that is a variable..
for l in range(0,3):
for c in range (0,3):
matriz[l][c] = 0
for l in range(0,3):
for c in range(0,3):
print(f'[{matriz[l][c]:^5}]',end='')
print()
jg1 = input('Move 1:'). split() jgl, jgc = jg1 matrix[jgl][jgc] print(matrix)
jg2 = input('Move 2:'). split() jgl2, jgc2 = jg2 print(jgl2)
in this case I am not managing to change a certain Dice. For example, I want to change 2x1 inidice from 0 to 2, I cannot... ?
Thank you R.Pinho, it worked, and it was really what I needed!!
– dragonattack