Pergunta de entrevista da empresa CodeHS

Given a dictionary in Python, reverse the keys and values.