1
2
3
4
5
6
7
8
9
10
|
from collections import Counter
tmp=[]
for i in range(10):
tmp.append(int(input()))
print(sum(tmp)//10)
cnt=Counter(tmp)
print(cnt.most_common(1)[0][0])
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
백준 3047 ABC (0) | 2021.11.30 |
---|---|
백준 2998 8진수 (0) | 2021.11.30 |
백준 20953 고고학자 예린 (0) | 2021.11.30 |
백준 23756 노브 돌리기 (0) | 2021.11.30 |
백준 23320 홍익 절대평가 (0) | 2021.11.30 |
댓글