Coding Test/백준_Python

[백준/python] 10039번 - 평균 점수

J동진 2020. 7. 2. 14:00

total = 0

for i in range(5):
    score = int(input())
    if score < 40:
        score = 40
    total += score

print(int(total/5))