Question: Help me write a python code. Write a program that asks the user to input words separated by spaces(they can type as many as they
Help me write a python code.
Write a program that asks the user to input words separated by spaces(they can type as many as they want) and then counts up how many times the word "and" appears.
Example run:
Enter words separated by spaces: he was despised and rejected by men, a man of sorrows and acquainted with grief
The word 'and' appeared 2 times(s).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
