def solution(arr1, arr2):
answer = list()
x, y = len(arr1), len(arr2[0])
for i in range(x):
tmp = []
for j in range(y):
tmp.append(arr1[i][j] + arr2[i][j])
answer.append(tmp)
return answer
'Coding Test > Programmers_Python' 카테고리의 다른 글
[프로그래머스/python] 최대공약수와 최대공배수 (0) | 2020.07.08 |
---|---|
[프로그래머스/python] 문자열 다루기 기본 (0) | 2020.07.08 |
[프로그래머스/python] 하샤드 수 (0) | 2020.07.08 |
[프로그래머스/python] x만큼 간격이 있는 n개의 숫자 (0) | 2020.07.07 |
[프로그래머스/python] 가운데 글자 가져오기 (0) | 2020.07.06 |