반응형
# @Author YoungMinKim
# baekjoon
ls=[]
for _ in range(9):
x=int(input())
ls.append(x)
high = max(ls)
for i in range(len(ls)):
if ls[i] == high:
print(high)
print(i+1)
else:
continue
반응형
'백준 문제풀이' 카테고리의 다른 글
baekjoon - python - 2588 (0) | 2020.08.25 |
---|---|
baekjoon - python - 2577 (0) | 2020.08.25 |
baekjoon - python - 2558 (0) | 2020.08.25 |
baekjoon - python - 2557 (0) | 2020.08.25 |
baekjoon - python - 2555 (0) | 2020.08.24 |
댓글