def compute_grade(questions_coeff, questions_grade):
    """
    Compute a grade from grade for each question (/2) and
    associated coefficients

    :param questions_coeff: list of coefficients for each question
    :param questions_grade: list of grade for each question
    """
    assign_grade = 0
    sum_coeff = 0
    for coeff, grade in zip(questions_coeff, questions_grade):
        assign_grade += coeff * grade
        sum_coeff += coeff
    return int(assign_grade * 10 * 100 / sum_coeff) / 100