<prompt> Kutoa pato la code ambayo kukamilisha zilizotolewa matrix na jumla ya kila safu.matrix 1, 2, 3, 2, 3, 4, 3, 4, 5  <response>: Python matrix 1, 2, 3, 2, 3, 4, 3, 4, 5 kwa safu katika matrix: row_sum sumrow row.appendrow_sum printmatrix Will output: 1, 2, 3, 6, 2, 3, 4, 9, 3, 4, 5, 12 