https://www.acmicpc.net/problem/10039
평균 점수
import sys
sum=0
for i in range(5) :
num = int(input())
if num<40 : sum+=40
else : sum+=num
print(int(sum/5))
'PROGRAMMING CODE > PYTHON' 카테고리의 다른 글
[BAEKJOON] No.2480 Python (0) | 2023.03.21 |
---|---|
[BAEKJOON] No.1934 Python (0) | 2023.03.21 |
[BAEKJOON] No.1789 Python (0) | 2023.02.09 |
[BAEKJOON] No.11653 Python (0) | 2023.02.09 |
[BAEKJOON] No.10817 Python (0) | 2023.02.07 |