I want to split a sentence into words and get it to display vertically
<p>This is what i have so far.</p>

<pre><code>sentence = input("Enter a sentence".lower())
sentence = sentence.split()
print (sentence)
</code></pre>

<p>Current output:</p>

<pre><code>enter a sentence hi my name is bob

['hi', 'my', 'name', 'is', 'bob']
</code></pre>

<p>Desired output (without those big spaces)</p>

<pre><code>hi

my

name

is

bob
</code></pre>

<p>I think it involves <strong>for word in sentance</strong> but im not sure</p>

<p>Thanks!</p>

<p>You can just do:</p>

<pre><code>for word in sentence:
    print(word)
</code></pre>

python python-3.x