I am trying to create a matrix in which the user enters the number of rows, columns and each term:
colum=int(input('Cantidad de columnas: '))
fil=int(input('Cantidad de filas: '))
matriz=[[str(input('[',i,',',j,']-esimo termino: ')) for i in range(colum)] for j in range(fil)]
However, after entering the number of rows and columns I get the error:
TypeError: input expected at most 1 arguments, got 5
I have tried to rewrite the code in different ways and it keeps throwing me the same error. My question is, can not I place an input () inside a for loop? Or in any case, what has been my mistake here?