Applying a function to values in dict,"d2 = {k: f(v) for k, v in list(d1.items())}"