def rev_c(read):
rc = []<EOL>rc_nucs = {'<STR_LIT:A>':'<STR_LIT:T>', '<STR_LIT:T>':'<STR_LIT:A>', '<STR_LIT>':'<STR_LIT:C>', '<STR_LIT:C>':'<STR_LIT>', '<STR_LIT:N>':'<STR_LIT:N>'}<EOL>for base in read:<EOL><INDENT>rc.extend(rc_nucs[base.upper()])<EOL><DEDENT>return rc[::-<NUM_LIT:1>]<EOL>
return reverse completment of read