I need some assistance writing to a excel file : <p>I am programming a task in which a user will enter a sentence (no punctuation), and the program will store the words in a list, and then replace each word with the position of the word in the list that was created.
I do not have much of an idea about how to approach this, as I am new to python, however I am assuming that I should first store the words in an Excel database and then position them in the list.
If I could have some help with this I would greatly appreciate it, thanks.</p>

<p>For more information about the task, view this screenshot:<a href="http://i.stack.imgur.com/8pQNQ.png" rel="nofollow">Task Details</a></p>
