I want to take the following in single line from user
Abc 0 1 0
How can this be done? I tried
map(int,input().split())
input() and then split
input().split(" ")
I am getting the following error:
File "main.py", line 11, in <module>
name = input()
File "<string>", line 1
Abc 0 0 2
^
SyntaxError: invalid syntax
but it is not giving the desired result.