<s>[INST] classwork.reverse_complement():
    """Returns a reversed complement DNA sequence.

    :param sequence: A DNA sequence
    :type sequence: str
    :return: The reversed complement of the input sequence
    :rtype: str
    """

def reverse_complement(sequence):
    complements = {'A': 'T', 'T': 'A', 'G': 'C', 'C': 'G'}
    return ''.join(complements[base] for base in reversed(sequence))[/INST]