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 was thinking the same thing. An example would help quite a bit.
OMG thank you, that worked!
This function accepts three parameters instead of one array. You might want to use the rest parameters syntax to accept an array as function parameters.
This comment is hidden because it contains spoiler information about the solution
Okay, if you say so. It's just that, assuming all pancakes have 2 sides, which each take 1 minute/side, there should not be any odd numbered solutions, if the premise of the question is correct.
I still take issue with this question as it is phrased. Perhaps if the question were phrased more clearly, perhaps it would be better.
If it really was logically incorrect, this kata wouldn't have been approved.
There's no "tricky" about it. It's just logically incorrect, and it seems like many other people think so as well.
Good thing I read the discussions here, was able to get the idea. I solved it! Thank youuuu!
How can you expect 3 (minutes) when each pancakes need one minute for each side ? Or maybe you prefer semi cooked pancakes?... or i didn't understand something ?
400 people have solved this. It's supposed to be tricky, you need to think outside the box.
This cannot be right. I've even had friends double-check my logic, and they all agree that my code should work, and that whoever wrote the problem was incorrect.
imo I think the person who made this needs to take it down and fix it.
Python:
parameter should not shadow a builtin
As far as I can tell, it doesn't show which tests fail. That would be helpful if it did.