def build_completed_questions_feedback(actor_name, quiz_name, course_name, score, feedback):
    """
    Build the feedback when an user has completed the quiz and has failed the quiz.

    :param actor_name: Name of the user that has completed the quiz.
    :type actor_name: str
    :param quiz_name: Name of the quiz.
    :type quiz_name: str
    :param course_name: Name of the course.
    :type course_name: str
    :param score: Result of the user.
    :type score: str
    :param feedback: String with the feedback.
    :type feedback: str
    :return: String of the message.
    :rtype: str
    """
    if feedback == '':
        return ''
    message = f'Hi {actor_name},\n You have completed the quiz "{quiz_name}" for the course "{course_name}". ' \
              f'You did not answer every question correct. For information about the topics of the questions ' \
              f'you answered wrong, please take a look at: {feedback}'
    return message