지나가던 개발자
[Python] 백준 1546번(평균) 문제 풀이 본문
input()
grade = list(map(int, input().split(" ")))
m = max(grade)
for i in range(len(grade)):
grade[i] = grade[i]/m*100
print(sum(grade)/len(grade))
'PS > Python' 카테고리의 다른 글
[Python] 백준 4355번(서로소) 문제 풀이 (1) | 2022.10.22 |
---|---|
[Python] 백준 6992번(Arithmetic Sequence) 문제 풀이 (0) | 2022.10.22 |
[Python] 백준 10769번(행복한지 슬픈지) 문제 풀이 (0) | 2022.10.21 |
[Python] 백준 11816번(8진수, 10진수, 16진수) 문제 풀이 (0) | 2022.10.21 |
[Python] 백준 1357번(뒤집힌 덧셈) 문제 풀이 (0) | 2022.10.21 |
Comments