Hello, I am getting the output that it asks me to, but it still doesn’t like my code. I was wondering if someone could take a look and see where I am going wrong. These are the instructions.
- Go to you main.py file.
- Take in the user input for the sentence and the query.
- Next, sanitize and format the input by removing the whitespace and converting it to lowercase.
- Count the occurrences of the substring.
- Print the results.