0 out of 68 challenges solved

Count the frequency of words in a file

def count_word_frequency(file_path):
    """
    Counts the frequency of each word in a file.

    Args:
        file_path (str): The path to the input file.

    Returns:
        dict: A dictionary containing the word frequency.
    """
    # TODO: Implement the count_word_frequency function
    pass