Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
name4 should not get +20 at the end
The question is not relevant. I figured out what's wrong.
array = [
["name1", 150, ["B", "A", "A", "C", "A", "A"]],
["name2", 120, ["B", "A", "A", "A"]],
["name3", 160, ["B", "A", "A", "A","A"]],
["name4", 140, ["B", "A", "A", "C", "A"]]
]
name4 A3=303==90+B1=20+C1=10==120+20 (20) OF LENGTH WHY STILL IN OUTPUT?
It would not make sense if the tests for the task were displayed in more detail. And so, I'm at a loss as to what I did wrong. I originally found a solution, it passed the tests. I decided to do a little refactoring. After that, the new solution fails the tests.
Is there a point to this post?
more and all courses has a grade of b or above ;) kinda confused thnx
can anyone explain me why name3 of sample cases not in output he scored 140 but actual score is 160
oh thanks, got it
no one can get more than 200 points, it's just a rule. if you have more, it is "downgraded" to 200. so jack got 200 points
Thank you @Chrono79, I had not read the description correctly.
Why ['Jack Bradley', 200, ['B', 'B', 'A', 'A', 'A', 'A', 'B', 'A']] isn't hacked?
Sum of scores is equal 20+20+30+30+30+30+20+30=210 plus extra points and total cant be greater than 200, so why it isn't?
Trying to pass random tests
@jesusmanuelir@gmail.com There is no error, your code is wrong. Check the description again.
Hi, this is because your code passes the
Sample Tests
but not theRandom Tests
. So, you will need to revisit the challenge and alter your logic. Look closely at the red text and see what tests you're not passing as a means to fixing your code. Best of luck!Hello, i am having an issue with this kata, all the fixed tests are passed correctly, but every time i click atempt, arround 10 random tests apear in red. Is there someone else havign a similar problem?
Loading more items...