|
|
@ -3,13 +3,16 @@ |
|
|
|
### Instructions |
|
|
|
### Instructions |
|
|
|
|
|
|
|
|
|
|
|
Write two functions: |
|
|
|
Write two functions: |
|
|
|
- `RNA` that given a DNA strand it must return is complement RNA |
|
|
|
|
|
|
|
- `DNA` that given a RNA strand it must return is complement DNA (invert RNA) |
|
|
|
- `RNA` that given a DNA strand it must return is complement RNA |
|
|
|
|
|
|
|
- `DNA` that given a RNA strand it must return is complement DNA (invert RNA) |
|
|
|
|
|
|
|
|
|
|
|
Since both strands are a sequence of nucleotides. It will be given the four nucleotides and its complements |
|
|
|
Since both strands are a sequence of nucleotides. It will be given the four nucleotides and its complements |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
DNA | RNA |
|
|
|
DNA | RNA |
|
|
|
G - C |
|
|
|
G - C |
|
|
|
C - G |
|
|
|
C - G |
|
|
|
T - A |
|
|
|
T - A |
|
|
|
A - U |
|
|
|
A - U |
|
|
|
|
|
|
|
``` |
|
|
|