본문 바로가기

코딩/백준

파이썬:백준 문제풀이 10039번,평균 점수

728x90
반응형

 

 

 

 

temp = 0
for i in range(0,5):
    a = int(input())
    if a > 40:
        temp += a
    else:
        temp += 40
print(int(temp/5))
 

 

반응형