I have a question with the creation of matrices in Python, specifically with the following code:
def inicializaMatriz(FILAS,COLUMNAS):
matrizA = []
for i in range(FILAS):
a = [0]*COLUMNAS
matrizA.append(a)
return matrizA
This is an implementation that I found, but what is not very clear to me is the line:
a = [0]*COLUMNAS
I have an idea about what he does but someone knows how to interpret that line?