Counting words in a string??

Jake jakemorroll18 at gmail.com
Fri Sep 30 14:37:19 EDT 2016


Hi, I need a program which:
1) Asks the user for a sentence of their choice (not including punctuation)
2) Ask the user which word they would like to know is repeated
3) Print out to the user how many times the word came up which they chose from their sentence.

It would help if you could comment the code. 
Thankyou in advance!!



More information about the Python-list mailing list