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.
this solution should not pass
My code passed the first 5 testcases, then it failes.
is the testing correct??
Since 86% of 58 warriors solved it, I guess my code is the problem.
Sorry, but that actually still doesn't make sense.
The current task is to retroengineer the specs that aren't given. That's generally a bad idea for a kata.
If I take the picture, I'd assume that 1 should match the tile at the center of this:
which doesn't match the 1 in the exmaple of grid at the end of the description
=> ?
You have to explain the tools you want us to use.
Cheers
Please provide more examples in description, elaborate it a bit more.
nice kata, the only suggestion I could give is maybe don't stuck the fill_value only to None? But can be more customed? thanks
This comment is hidden because it contains spoiler information about the solution
Cases like
Expects no trailing whitespaces, which is inconsistent to the handling when the product description alone spans multiple lines.
This will cause a loss of precision for the total amount, but the handling is not mentioned anywhere. e.g There are 3 products that each costs
$10.004
, their total would be$30.012
, so should the total be$30.00
or$30.01
?Edit: This is already happening in the random tests.
$30.01
is expected, but this is not reasonable, since that the rounded price of all products doesn't equal to the total.This comment is hidden because it contains spoiler information about the solution
The meaning of
is_countable
isn't explained enough. (The part about2 x
and455g
is not mentioned anywhere)No random tests. can be hardcoded
Duplicate or not?: https://www.codewars.com/kata/515bb423de843ea99400000a