46ee226
1
2
3
4
5
6
7
8
""" Utility functions for text processing. """ def letter_counter(word, letter): """Count the occurrences of a specific letter in a word.""" return word.lower().count(letter.lower())