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.
IMO it should be 3 not 7
I'm running into the same issue. I'm not really sure what I've done wrong, but I'm getting hung up on that last test.
I can modify my code to get the correct answer for that specific instance, but doing so breaks the rest of my responses, so I must be doing SOMETHING wrong, but I can't figure out WHAT.
so what was the solution? i am also using pythong and getting True for False in performance testing
I am still getting same error in version 2.7, what is solution?
This one is correct as well.
No, the last digit is
7
.This comment is hidden because it contains spoiler information about the solution
I got the same error. No idea why this is the case
It's a bit of both.
Also, your math is wrong. It would be 9, then 7, then 5, then 3.
Can someone explain please, why the test case is saying 'foobar001000' should equal 'foobar01000'
my code gives foobar001001 for the input foobar001000. My understanding is that you need to get the next number.
4 + 4 * 5
does not equal20
.The math is wrong for this problem. But, so is yours. 5x5 becomes 5 1x5 pieces with 4 cuts. Then 4 cuts for each of the 1x5's to create 25 1x1's. 20 cuts total.
Only reverse words
with all five or more letter words
as it states it the description. You are reversed all words in the sentence but should only be reversing words where letters > 5.Also, why are you using random module, the words should be reversed only if they have more than 5 letters and should not be reversed based on randomness.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...