알고리즘/배열(array)

백준 2562 python

자코린이 2023. 6. 9. 11:46
intList = []
for x in range(9):
    insertInt = int(input())
    intList.insert(x, insertInt)
    
print(max(intList))
print(intList.index(max(intList))+1)

'알고리즘 > 배열(array)' 카테고리의 다른 글

백준 10813 python  (0) 2023.06.10
백준 10810 python  (0) 2023.06.09
백준 10818 python  (0) 2023.06.09
백준 10871 python  (0) 2023.06.09
백준 10807 python3  (0) 2023.06.09