結果 : how to take user input matrix in python