코딩테스트/Python

[프로그래머스] 내적

yo~og 2021. 9. 5. 23:22

내 코드

def solution(a, b):

    return sum([i*j for i,j in zip(a,b)])

 

다른사람 코드도 똑같다! 쉬움 ㅎㅎ