Skip to content

Commit feb09f5

Browse files
authored
Sync docs for practice exercise nucleotide-count (exercism#2451)
1 parent 422656b commit feb09f5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Instructions
22

3-
Each of us inherits from our biological parents a set of chemical instructions known as DNA that influence how our bodies are constructed. All known life depends on DNA!
3+
Each of us inherits from our biological parents a set of chemical instructions known as DNA that influence how our bodies are constructed.
4+
All known life depends on DNA!
45

56
> Note: You do not need to understand anything about nucleotides or DNA to complete this exercise.
67
7-
DNA is a long chain of other chemicals and the most important are the four nucleotides, adenine, cytosine, guanine and thymine. A single DNA chain can contain billions of these four nucleotides and the order in which they occur is important!
8+
DNA is a long chain of other chemicals and the most important are the four nucleotides, adenine, cytosine, guanine and thymine.
9+
A single DNA chain can contain billions of these four nucleotides and the order in which they occur is important!
810
We call the order of these nucleotides in a bit of DNA a "DNA sequence".
911

1012
We represent a DNA sequence as an ordered collection of these four nucleotides and a common way to do that is with a string of characters such as "ATTACG" for a DNA sequence of 6 nucleotides.
@@ -15,7 +17,7 @@ If the string contains characters that aren't A, C, G, or T then it is invalid a
1517

1618
For example:
1719

18-
```
20+
```text
1921
"GATTACA" -> 'A': 3, 'C': 1, 'G': 1, 'T': 2
2022
"INVALID" -> error
2123
```

0 commit comments

Comments
 (0)