結果 : how to get matrix input from user in python