<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _reversedict(d):
 """ Internal helper for generating reverse mappings; given a dictionary, returns a new dictionary with keys and values swapped. """

    return dict(list(zip(list(d.values()), list(d.keys()))))