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.
Imagine being just in time for your appointment, but you keep walking 'cause some app tells you to.
Imo it would have made more sense that if you're at the origin point by the 10th minute, then return true; but the way the solution is, you need to do walk.length != 10.
This comment is hidden because it contains spoiler information about the solution
Could you explain the prod function please ?
.
raised as issue above
not a suggestion...
duplicated issue: it has been reported below that the arguments of the assertion function are swapped.
closing.
if you're using python, check what you do about negative indexes, maybe?
Note that you're supposed to evaluate a generation "one shot", based on the state at the previous generation only. Reading your pseudo-code, I'm not entirely sure you're not using intermediate results of the current generation to compute it itself (but that may just be the wording...)
Hi,
Not an issue, a question (that "error" comes actually from your code, not from the kata itself).
That comes from the assertion functions which are comparing your output to the expected value which isn't a numpy object. Convert it to a reguler python object, and it should resolve that problem.
Cheers
This comment is hidden because it contains spoiler information about the solution