[resistor color duo] Intent behind leading zero

The instructions read in part :

The program will take color names as input and output a two digit number

But the final test expects a single digit number :

"input": {
    "colors": ["black", "brown"]
},
"expected": 1

On the JavaScript track it is not tested. On the Bash track a single digit 1 is expected. What do the other tracks do ? Any clarity on intent here ?

Thanks !

The intent looks to be that the expected is 1 digit. The PR responsible suggests the description be updated.

1 Like