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 came up with the same solution in under a minitue. Thank you CodeWars community. This works!
The description was a complete nonsense. Removed everything, and made it languge-independent.
Hi. Anyone generous enough to give me some help here? I have got my python code down to 8 lines and 249 chars.
all tests pass except length of code but I can't seem to get rid of those 9 chars.
would anyone give me some tips? Is it ok to post code here if I check the spoiler box below?
This comment is hidden because it contains spoiler information about the solution
I was probably a bit harsh, but at the time I was frustrated. I'd spent countless hours writing a working solution, all the while contemplating pasting in the answer, but resisting, only to see several offerings with hard coded results.
But anyway, who am I to judge?
judging by the date of the solution, I was just learning codewars to use codewars. Nowadays, I wouldnt attempt a solution like this because it's not in the spirit of the problem. However, because of the simplicity of the test cases, I was able to complete the Kata without learning the point being driven by the prompt.
I sleep very well, most nights, thank you for asking!
incredible. It looks so simple but I could stare at this for a week and not understand why it works.
How can you sleep at night posting something like that? What is the point honestly?
invalid issue. the problem isn't described. check the thread just above, in case that was actually your problem too.
I updated the generation of the random string. Hopefully this shouldn't happen anymore.
This comment is hidden because it contains spoiler information about the solution
Very clever bit of geometry. So simple in the end.
It would be perfect if you use
divmod
Very good. :-)
Case issues in the description. You are asked to return 'true' if True or 'false' if False.
Loading more items...