![[백준 알고리즘] 1546번 평균 (Python)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FGj8sB%2FbtqCvyfVExX%2FBmpHslnPgHVJKJHwwZdk6K%2Fimg.png)
언어, 알고리즘 공부/백준2020. 3. 7. 14:59[백준 알고리즘] 1546번 평균 (Python)
n = int(input()) score = input().split() score = list(map(float, score)) M = max(score) new = [] for i in score: new.append(i / M * 100) sum = 0 for i in new: sum += i print(sum/n) ▼링크 https://www.acmicpc.net/problem/1546