def check_word_lengths(start_word, stop_word):
    """Check if the both words are of equal length.

    :param start_word: Starting word
    :param stop_word: Stopping word
    :returns: True if lengths are equal, False otherwise
    :rtype: bool

    """
    if len(start_word) != len(stop_word):
        print("Words {} and {} are of different length".format(
            start_word, stop_word))
        return False
    return True