Essentially I want each new word from the user input to be on the next line, so a sentence such as: "Hello World" would appear as
"Hello"
"World"
Here is my current script:
EnterString = input("Enter the first word of your sentence ")
e =(EnterString)
e2 =(e.split(" "))
print (e2)
Which would give the result:
['Hello', 'world']
How can I make Python detect the spaces and align the words accordingly?
Thanks in advance.