这是程序显示错误
Traceback (most recent call last):
File "solution.py", line 4, in <module>
temp=int(input())
ValueError: invalid literal for int() with base 10: '1 2'
Input (stdin)
n=int(input())
list1=[]
for _ in range(n):
temp=int(input())
list1.append(temp)
tupl=tuple(list1)
p=hash(tupl)
print(p)
谁能告诉我语法错误是什么?