I want to assign numbers to words (starting from one) and create two lists, one of the words, one of the numbers. Then create a file and store both lists in it. So far I have:
sentence = input('Please enter a sentence: ')
list_of_words = sentence.split()
words_with_numbers = enumerate(list_of_words, start=1)