Question: Steps for Completion Go to your main.py file. Take in the user input for the sentence and the substring. Next, sanitize and format the input
Steps for Completion
Go to your
main.py file.
Take in the user input for the sentence and the substring.
Next, sanitize and format the input by removing the whitespace and converting it to lowercase.
Count the occurrences of the substring.
Print the results.
Run the script by using the python
main.py command
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
