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 see you've already solved it, but for those who are struggling, there is a purely math way to solve this kata. (Hint: look for patterns in the total_sum)
Hello everyone!!! Who knows, tell me what to do, what functions to watch to speed up the code?
The description should probably get a touch-up, it is difficult to find what the return value should be when skimming it. But it does say as part of the example what those numbers are.
From all that has been said, I realized that in the example
cost = 124
box = 'mon mon mon mon mon apple mon mon mon mon mon mon mon monme mon mon monme mon mon mon mon cloth monme mon mon mon mon mon mon mon mon cloth mon mon monme mon mon mon mon monme mon mon mon mon mon mon mon mon mon mon mon mon mon'
is returning
[45, 5, 345, 6]
45 - number of mon
5 - the amount of monme
345 - the sum of mon and monme
6 is the amount of tofu that can be bought with 345 coins,
Maybe I'm wrong, but if 345/124 = ~2
what does the number 6 mean??
This comment is hidden because it contains spoiler information about the solution
I also cannot understand the instructions.
Approved.
Merged.
Approved
I didn't quite understand, more precisely
, whether I understand correctly that the opposite faces differ only by 1 in a greater or lesser direction
There is a question about 5 and 2, I don't understand how they can be compared with this condition
Guys, thank you for pointing out my mistake, I didn't read the assignment carefully.
In the function, I worked with the incoming array, but I had to copy and then work with the new array
With the lines :
You are mutating the original array...
Also, it's not an issue with the kata but with your code. So it's a question.
00000000000000input array was modified:00000000000000
Also, what do you think this
means?
And even now, people won't read ..
Loading more items...