def remove_from_list(list_name, list_to_be_removed_from, content, begin_index):
    """
    Remove an entry from a list.
    :param list_name: The name of the list.
    :param list_to_be_removed_from: The list to remove the element from.
    :param content: The message.
    :param begin_index: The begin index of the entry.
    :return: The return note.
    """
    input_list = content.split()

    if len(input_list) < (begin_index + 1):
        return f"Hmm... I think you forgot to enter what you want to remove. Please follow the format 'dogg remove from {list_name} list [...]' "

    entry_to_remove = ""
    for word in range(begin_index, len(input_list)):
        entry_to_remove += input_list[word] + " "

    try:
        list_to_be_removed_from.remove(entry_to_remove)

    except ValueError:
        return f"I think the entry you wish to remove isn't there in the list. Are you sure about that? Maybe use " \
               f"`dogg print {list_name} list` command before issuing this command. "

    return f"The element is successfully removed from the {list_name} list."