(rng)
return res
make_identity_dict(rng) -> dict

        Return a dictionary where elements of the rng sequence are
        mapped to themselves.
make_identity_dict(rng) -> dict
make_identity_dict ( rng ) - > dict
def make_identity_dict(rng):

    """ make_identity_dict(rng) -> dict

        Return a dictionary where elements of the rng sequence are
        mapped to themselves.

    """
    res = {}
    for i in rng:
        res[i]=i
    return res
def make_identity_dict ( rng ) : res = { } for i in rng : res [ i ] = i return res