diff --git a/exercises/practice/resistor-color-duo/.docs/instructions.md b/exercises/practice/resistor-color-duo/.docs/instructions.md index 4ae694da025..f6af7b203d3 100644 --- a/exercises/practice/resistor-color-duo/.docs/instructions.md +++ b/exercises/practice/resistor-color-duo/.docs/instructions.md @@ -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 +```