Split사용
map(int, (input().split())
*여기서 split()안에 어떤 기호를 넣으면 그 기호를 기준으로 나눠준다.
map(int,리스트)
*리스트 각 값에 int를 적용 해 준다.
예시
a,b,c,d=map(int,(input().split())
a=map(int, a)
*a는 리스트형
map(int, (input().split())
*여기서 split()안에 어떤 기호를 넣으면 그 기호를 기준으로 나눠준다.
map(int,리스트)
*리스트 각 값에 int를 적용 해 준다.
예시
a,b,c,d=map(int,(input().split())
a=map(int, a)
*a는 리스트형