More I/O cases in exercise pls
It will be more friendily if there are more input-output cases in the exercise.
recently i’m learning python.I’m really like exercism, because it’s so friendly for me a beginner.
However when i’m doing exercise in Python exercise, I find that there are not I/O show in the introduction.
for example: Resistor Color Duo this exercise.(Resistor Color Duo in Python on Exercism)
In introduction, it’s said:
“From the example above: brown-green should return 15, and brown-green-violet should return 15 too, ignoring the third color.”
and in the right there just
def value(colors):
pass
My first thought is that the test may be input some string word ,like’brown-green-violet’
therefore i need to use some split grammer and so on .
I take minutes to Run test after i write that down but i find the test case is list ,like
[‘brown’,‘green’] ,so i have to adjust my code.
I feel confuse is my code instinct is weak or my English understanding is not so good?Anyway i will keep learing.
I really want EXERCISM is better ,i hope there are more i/o case in introduction.It’s more visually and friendly.