So I want the user to enter a matrix in the form, for example:
2 2
3 4
I need Python to ignore the enter key here and treat it the same as the space bar, otherwise it would give me an error when I press the enter key after last number in the first row, making it only possible to enter the matrix as:
2 2 3 4
Is it possible?