(백준/파이썬) 1546번: 평균




 

N = int(input())
score = list(map(int,input().split()))
ave = ()
for i in score:
    ave.append((i/max(score))*100)
print(sum(ave)/len(ave))

나... 이렇게 코드를 짜는데... 다른 사람들이 하는 걸 보고 깜짝 놀랐다.