이거 그냥


a = int(input())
b = int(input())

print(a+b)


이렇게짜니까 컴파일 에러 뜨면서 안되더라?


구글링해보니까


a, b = input().split()

print(int(a) + int(b))


이렇게짜던데

이게 무슨차이가있지? 왜안되는거야..