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

13th Nov 2020, 11:12 PM
Joan Manuel
Joan Manuel - avatar
1 Antwort
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)
14th Nov 2020, 12:26 AM
Juan Miguel Hernández Mora
Juan Miguel Hernández Mora - avatar