import numpy as np
def solution(A, B):
answer = [[]]
answer = (np.matrix(A)*np.matrix(B)).tolist()
return answer
'Language > Python' 카테고리의 다른 글
[Python / 프로그래머스 level 2] 카펫 (0) | 2021.08.10 |
---|---|
[Python / 프로그래머스 level 2] 주식가격 (0) | 2021.08.09 |
[Python / 프로그래머스 level 2] H-Index (0) | 2021.08.04 |
[Python / 프로그래머스 level 2] 최솟값 만들기 (0) | 2021.08.03 |
[Python / 프로그래머스 level 2] 가장 큰 수 (0) | 2021.08.02 |