Skip to content

Commit

Permalink
implement py-count-occurrences
Browse files Browse the repository at this point in the history
  • Loading branch information
vmieshkov committed Jan 4, 2025
1 parent 8ebe734 commit 6e4650e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
def count_occurrences(phrase: str, letter: str) -> int:
# write your code here
pass
return phrase.lower().count(letter.lower())

0 comments on commit 6e4650e

Please sign in to comment.