def get_accuracy(pred_list : list, target_list : list) -> float:
    """
    Get prediction's accuracy
    =========================

    Parameters
    ----------
    pred_list : list
        List of predicitions.
    target_list : list
        List of targets.

    Returns
    -------
    float
        The rate of good predictions.
    """

    good_count = 0
    for pred, target in zip(pred_list, target_list):
        if pred == target:
            good_count += 1
    return good_count / len(pred_list)