def sentence_error(source, target):
    """
    Evaluate whether the target is identical to the source.


    Args:
        source (str): Source string.
        target (str): Target string.

    Returns:
        int: 0 if the target is equal to the source, 1 otherweise.
    """

    return 0 if target == source else 1