Skip to content

Commit

Permalink
Update instructions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Joeyleebm authored Nov 27, 2024
1 parent 01fb257 commit da3a66f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions exercises/practice/resistor-color-duo/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,11 @@ The band colors are encoded as follows:
From the example above:
brown-green should return 15, and
brown-green-violet should return 15 too, ignoring the third color.

```python
>>> value(['brown','green'])
15

>>> value(['violet','white'])
79
```

0 comments on commit da3a66f

Please sign in to comment.