정답 코드
import sys
input = sys.stdin.readline
li = []
for _ in range(5):
li.append(int(input()))
li = sorted(li)
print(sum(li)//5)
print(li[2])
'코딩 테스트 > 백준' 카테고리의 다른 글
[Python] 백준 1436 영화감독 숌 (0) | 2025.01.06 |
---|---|
[Python] 백준 24416 알고리즘 수업 - 피보나치 수 1 (0) | 2025.01.06 |
[Python] 백준 2745 진법 변환 (0) | 2025.01.06 |
[Python] 백준 2075 N번째 큰 수 (0) | 2025.01.06 |
[Python] 백준 1427 소트인사이트 (0) | 2025.01.06 |