Counting words in a string??
Rob Gaddi
rgaddi at highlandtechnology.invalid
Fri Sep 30 14:47:18 EDT 2016
Jake wrote:
> 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!!
I'm sure it would help; your professor will probably take points off
otherwise.
--
Rob Gaddi, Highland Technology -- www.highlandtechnology.com
Email address domain is currently out of order. See above to fix.
More information about the Python-list
mailing list