[BOJ / Python] 1546 평균

도니·2023년 3월 22일
0

BOJ / Python

목록 보기
22/104
post-thumbnail

문제

백준 1546 평균

코드

n = int(input())
score = list(map(int, input().split()))
max = max(score)

new_score = []
for t in score:
    new_score.append(t/max*100)
avg = sum(new_score)/n
print(avg)
profile
안녕하세요, 🌱새싹개발자 도니💡입니다!

0개의 댓글

관련 채용 정보