結果 : take matrix input from user in python