Skip to content

Commit 2704e98

Browse files
committed
1 parent 23a3954 commit 2704e98

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Hongjoo/lv1/평균구하기.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
def solution(arr):
2+
answer = 0
3+
for n in arr :
4+
answer += n
5+
6+
answer = answer/len(arr)
7+
print(answer)
8+
return answer

0 commit comments

Comments
 (0)