Question: In Python Like Q4 above, this time, the program counts the number of words that starts with a user-entered character. Instead of exiting after each
Like Q4 above, this time, the program counts the number of words that starts with a user-entered character. Instead of exiting after each entry, a user can enter a letter repeatably until a ' 9 ' is entered Result string = It is very hot and humid in Memphis in the Summer but not in Seattle enter the character that you want to count in the string i there are 4 char "i" in the string try a different char, enter 9 to exit enter the character that you want to count in the string S there are 2 char "S" in the string try a different char, enter 9 to exit enter the character that you want to count in the string h there are 2 char "h" in the string try a different char, enter 9 to exit enter the character that you want to count in the string 9 done
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
