프로그래머스. 평균 구하기 파이썬 풀이

minan·2021년 6월 28일
0

프로그래머스

목록 보기
65/92

프로그래머스. Level 1. 평균 구하기 파이썬 풀이

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

def solution(arr):
    
    # 평균 = 총합 / 개수
    return sum(arr)/len(arr)
profile
https://github.com/minhaaan

0개의 댓글