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