diff --git a/app/main.py b/app/main.py new file mode 100644 index 0000000..e613d44 --- /dev/null +++ b/app/main.py @@ -0,0 +1,2 @@ +def count_occurrences(phrase: str, letter: str) -> int: + return phrase.lower().count(letter.lower())