What would be the best way to write input into a 2D array with an input of the full array like so:
f g p g s
k p o d z
k d c s t
v c r s m
a w c t e
I would be able to read it in easily if it was one value at a time, but the whole array as input all at once is confusing me. My first thought was to do something like
for i in range(amount_row):
for j in range(amount_column):
matrix[i][j] = input()
but that is not working because of the format of the input. I had the user input the dimensions of the matrix.