0
What way can I do a matriz multidimensional
I want know the form that make a matriz multidimensional 4x4 in which I write numbers and find inside the bigger number I will really thanked who help me I am some confused of this
1 Réponse
0
Matriz = list()
#create matriz 4 x 4
for i in range(4):
Matriz.append([0] * 4)
#print matriz
for i in Matriz:
print(i)
#modificando [0, 2]
Matriz[0][2] = 2
print()
for i in Matriz:
print(i)