def prep_words(name, word_list_ini):
    """Prep word list for finding anagrams. Create a new list from words in
        word_list_ini that have same length as name. convert words to lower.

    Args:
        name (string): the name to compare against.
        word_list_ini (list): list of words to compare.

    Returns:
        (list): words with same length as name converted to lowercase.
    """
    len_name = len(name)
    word_list = [word.lower() for word in word_list_ini
                 if len(word) == len_name]
    print(f'length of new word_list = {len(word_list)}')
    return word_list