Code:
a=input().split() print(a)
When submitting to the input line '1 2 3'
Traceback (most recent call last): File "", line 1, in <module> a=input().split() File "<string>", line 1 1 2 3 ^ SyntaxError: invalid syntax
The expression is taken from the example, it should work. What could be the snag?