You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are 64 codons which in turn correspond to 20 amino acids; however, all of the codon sequences and resulting amino acids are not important in this exercise.
15
-
If it works for one codon, the program should work for all of them.
16
-
However, feel free to expand the list in the test suite to include them all.
17
-
18
-
There are also three terminating codons (also known as 'STOP' codons); if any of these codons are encountered (by the ribosome), all translation ends and the protein is terminated.
19
-
20
-
All subsequent codons after are ignored, like this:
Copy file name to clipboardExpand all lines: exercises/practice/triangle/.docs/instructions.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,11 @@ A _scalene_ triangle has all sides of different lengths.
13
13
14
14
For a shape to be a triangle at all, all sides have to be of length > 0, and the sum of the lengths of any two sides must be greater than or equal to the length of the third side.
15
15
16
+
~~~~exercism/note
17
+
We opted to not include tests for degenerate triangles (triangles that violate these rules) to keep things simpler.
18
+
You may handle those situations if you wish to do so, or safely ignore them.
0 commit comments