• + 1 comment

    Hey guuys i am new to python and i tried the following code : size=int(raw_input()) for i in range(size): inputs=int(raw_input()).strip().split(" ")

    ttuple=tuple(inputs) print hash(ttuple)

    and got the following error: Traceback (most recent call last): File "solution.py", line 5, in inputs=int(raw_input()).strip().split(" ") ValueError: invalid literal for int() with base 10: '1 2'

    What is the problem with my code?