파이썬 알고리즘 : 평균 구하기

원소 계산

2023년 11월 9일 알고리즘 문제풀이

문제

링크

난이도

Lv.1

코드

1
2
3
def solution(arr):
    answer = sum(arr)/len(arr)
    return answer