Replaced map(dict.get,dict.keys) with dict.values.