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.
I hope never to see such code in production. :)
Neat though.
This comment is hidden because it contains spoiler information about the solution
286.3333333333333
degrees[286, 20, 0]
[286, 20, 60]
The action pants appreciate every year depending on the level to which they are soiled (soil input):
This phrase is rather vague and I had no trouble with this only because I had to deal with such katas in the past.
I would suggest rewriting it like this:
The action pants appreciate every year by their level of soiling (in percents). The value is cummulative (like compound interest).
ez )))
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Can someone explain in plain English WHAT do I need to search for?
Duplicate of https://www.codewars.com/kata/574e4175ff5b0a554a00000b/discuss/python.
As it has even less value than the kata above, this one can be closed.
Average man: "Mine is longer!". Python developer: "Mine is shorter!"
The "union" is not clearly defined. It should be something like this:
"Given a rectangular matrix and integers
a
andb
, consider the union of thea
-th row and theb
-th (both 0-based) column of thematrix
except the point of intersection." That would spare people a lot of unnecessary blundering in the dark, trying to understand the difference between the actual and expected result.The description should specify in which order the exceptions are evaluated and what error messages should be used. In this case,
gender
is evaluated first, thenweight
, thenduration
.The description, or I'd rather say, the problem is not entirely correct.
For example, let's take the example we have only one stone. According to the existing conditions, it would take only 2 steps to go across and over.
In reality, there are 4 steps:
(across)
(back)
shore - stone - 1 step
stone - other shore - 1 step
Total: 4 steps.
As it is, the problem does not count the steps from the shore to the first stone.
Why bruteforce when you can hardwire something )))
This comment is hidden because it contains spoiler information about the solution
Loading more items...