1
2
3
4
5
|
def sol(n,nums):
return 100*sum(nums)/(n*100)
n=int(input())
nums=list(map(int,input().split()))
print(sol(n,nums))
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
백준 4589 Gnome Sequencing (0) | 2022.08.02 |
---|---|
백준 4696 St. Ives (0) | 2022.08.02 |
leetcode 1702A - Round Down the Price (0) | 2022.07.19 |
leetcode 1702B - Polycarp Writes a String from Memory (0) | 2022.07.19 |
codeforces 791A - Bear and Big Brother (0) | 2022.07.12 |
댓글