프로그래머스 연습문제
- Lv 1. 행렬의 덧셈 (Python)
https://school.programmers.co.kr/learn/courses/30/lessons/12950
def solution(arr1, arr2):
answer = []
for i in range(len(arr1)):
sub_array = []
for j in range(len(arr1[i])):
sum = arr1[i][j] + arr2[i][j]
sub_array.append(sum)
answer.append(sub_array)
return answer