Finding and Counting Occurrences of a Pattern in a String using Python's find() Method

Prompt

Result