def compute_out_degrees(digraph):
    """ dict -> dict
    Takes a directed graph represented as a dictionary, and returns a dictionary
    in which the keys are the nodes and the values are the nodes' outdegree
    value.
    """
    out_degrees = {}
    for node in digraph:
        out_degrees[node] = len(digraph[node])

    return out_degrees