More I/O cases in exercise pls

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. :ghost:

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. :partying_face:

You’re missing the bits about how you’re not looking at the tests and the whole Test Driven Development philosophy :slightly_smiling_face:

Once you figure out how to use that, you’ll understand why there are so many beginners who have found Exercism to be an amazing platform to learn Python!!

2 Likes

got it.thank u! :yum:

1 Like