結果 : find matrix size python