def reverse_dict(in_dict):
    """Reverses key-value pairs of input
    Parameters:
    in_dict (dict): dictionary to be reversed
    
    Returns:
    reversed_dict: version of in_dict with key-value pairs reversed"""
    reversed_dict = {in_dict[index]:index for index in range(0, len(in_dict))}
    return reversed_dict