1. 띄어쓰기 간격으로 들어올 때
<입력방식>
1 2 3 4 5
<코드>
arr = list(map(int, input().split()))
2. 엔터 간격으로 들어올 때
arr=[] for i in range(n): arr.append(int(input()))