diff --git a/app/main.py b/app/main.py index 37b9f338..e5a1a289 100644 --- a/app/main.py +++ b/app/main.py @@ -1,3 +1,4 @@ def count_occurrences(phrase: str, letter: str) -> int: - # write your code here - pass + lower_case = phrase.lower() + count = lower_case.count(letter.lower()) + return count