I am working on a project where you have to input a matrix that has an arbitrary size. I am using python. Suggestions?
Read the input till Ctrl+d, split by newline symbols  first and then split the results by spaces.
Entering arbitrary sized matrices to manipulate them using different operations.