def make_identity_dict(rng):
 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
make_identity_dict -> dict return a dictionary where elements of the rng sequence are mapped to themselves .