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.
bealtiful
Really cool!
In Python, it seems I had the same problem as some others as well: In the random tests, my result was sometimes off by 0.01. This happened a few times, every time on only one of the tests. I was able to pass by attempting a bunch of times though...
This Kata easier than it seems for first glance!
i tried running your solution and it passed all the tests
Have passed 363 tests but failed 3 ('Austrian Black and Tan Hound', 'Styrian Coarse-haired Hound', 'Combai') which my code is throwing up as "None". I don't have enough info about the dogs dictionary to see why such a specific error is happening.
JS Translation
python new test frameworks
Fixed in recently approved Python fork.
Approved.
Taking a pen and a piece of paper, I rewrote one of these tests and started counting manually. I figured that the test had the correct answers, which meant that the error was somewhere in my code. It turned out that my function, which searches for similar characters for two strings, searches for unique similar characters. For example, check whether your code works correctly with the arguments 'aab' and 'aaa'.
it is solution from chat gpt
pls help, i got all test ok, exept 2: "27.99 should equal 27.98", "5.4 should equal 5.39". Get std and mean of sample -> create new_sample (remove outlier) -> check if len(sample) != len(new_sample) call clean_mean(new_sample, cutoff) -> return the result. For example with sample = [1.01, 0.99, 1.02, 1.01, 0.99, 0.97, 1.03, 0.99, 1.02, 0.99, 3, 10] and cutoff = 2 i call clean_mean 3 tiems (get rid of 10, 3, and return mean of [1.01, 0.99, 1.02, 1.01, 0.99, 0.97, 1.03, 0.99, 1.02, 0.99]
.
Merged
Loading more items...