結果 : how to take 2d matrix input in python