프로그래머스. 내적 파이썬 풀이

minan·2021년 6월 22일
0

프로그래머스

목록 보기
16/92

프로그래머스 Level 1 내적 파이썬 풀이

문제 링크 https://programmers.co.kr/learn/courses/30/lessons/70128

주석이 필요없는 문제

def solution(a, b):
    answer = 0
    
    for i in range(len(a)):
        answer += ( a[i] * b[i] )
    
    return answer
profile
https://github.com/minhaaan

0개의 댓글