Notice
Recent Posts
Recent Comments
Link
할껀하고놀자
[백준] 2562 최댓값 본문
728x90
nums.index(max(nums)) - > 인덱스 알려준다.
nums = []
for i in range(9):
n = (input())
nums.append(n)
print(max(nums))
print(nums.index(max(nums))+1)