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.
python new test frameworks
python new test framework is required. updated in this fork
This comment is hidden because it contains spoiler information about the solution
Nope, the
check_yield
is completely broken.You can use
inspect.isgeneratorfunction
.https://www.codewars.com/kata/reviews/55e05b2a77d66ec38e00005d/groups/5fee2a284f5c0600015c1544
This comment is hidden because it contains spoiler information about the solution
Actually, you don't need a semicolon (;) after "pass" keyword in the template solution. We don't use semicolons at the end of the line of code in Python.
There aren't any tests for names that include underscores.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hello. I have misunderstood something.
All tests pass except the empty delimeter one.
I get this when I "return" the "right" list.
If I return something else the error is smth like.
"Should be ['abc', 'defg', 'blabla']" etc.
So where am I wrong?
Thanks
Hi Adam! I'm trying to solve your kata, and faced with something strange in random tests. All cases are similar, eg:
"'Rbxaehjicz': {'Nkvgoszpudwhr': (4, 1)}' should equal 'Rbxaehjicz': {'Nkvgoszpudwhr': (4, 0)}'"
Could you please itemize all cases, when flag should not be '1'? I switch flag to '1' if, as you say in description, 'at least one article from given country has the same flag set'. My function returns {y: {x: (2, 0)} for test cases [('x', 'x', 0), ('x', 'x', 0)] and [('x', 'x, x', 0)], and returns {y: {x: (2, 1)}} for test cases [('x', 'x', 1), ('x', 'x', 0)] and [('x', 'x', 1), ('x', 'x', 1)]. What could be the reason for an error?
This comment is hidden because it contains spoiler information about the solution