separate a sentences into dictionary with item and key

Joined
Dec 5, 2011
Messages
1
Reaction score
0
hi
i received a text and i need to separate it into separate words and to craete a dictionary that take the first word and make it into an item and the secend word in the sentence to a key, and so on till the end
i know how to separate the text to words but how can i make this dictionary??
plz help me
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top