0
How can i change str input to list?(python)
2 Respostas
+ 2
As Richard said...
newlist=input().split()
Or store the input first...
newlist=input("Write a list")
newline=newline.split()
Or use it to write long Lists without the [" "," "," "]
newlist="You can split directly as well".split()
+ 1
user = input().split()