https://www.acmicpc.net/problem/2562

#Solution
num_list = []
for i in range(9):
num_list.append(int(input()))
print(max(num_list))
print(num_list.index(max(num_list))+1)
'Programming [Python] > 백준 알고리즘 솔루션' 카테고리의 다른 글
| #67 백준 파이썬 [10872] 팩토리얼 (0) | 2019.07.03 |
|---|---|
| #66 백준 파이썬 [3052] 나머지 (0) | 2019.07.03 |
| #64 백준 파이썬 [10818] 최소, 최대 (0) | 2019.07.03 |
| #63 백준 파이썬 [10952] A + B - 5 (0) | 2019.07.03 |
| #62 백준 파이썬 [10951] A + B - 4 (0) | 2019.07.03 |