You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
422 B

## Molecules Cells
4 years ago
### Instructions
4 years ago
Create two functions which accept a `string`, and return a `string`:
- `RNA`: that converts a DNA strand into its compliment RNA strand.
- `DNA`: that converts an RNA strand into its compliment DNA strand.
4 years ago
Compliments:
```
4 years ago
DNA | RNA
G - C
C - G
T - A
A - U
```
Each strand must be represented as upper case `string`, without spaces, eg: `"ATCG"` is a valid DNA strand.