結果 : iterate through matrix diagonally python