Write a program in python to accept a string from the user count number of words in the string also count the word "to" in the string (not case sensitive). Example: Never be afraid to trust an unknown future to a known God. Output Number of words in the string are : 12
Number of times ‘to’ has appeared in the string : 2
Answers
Answered by
1
Answer:
this is not the question please write it properly then I will give you the answer
Similar questions