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 found a solution thats 48 characters long, how could i shorten it
This is pretty much just "call a built-in method", which isn't a very novel idea.
also i need translations to other languages like javascript,c++ and csharp maybe
if someone has done this exact thing before, please tell me, i will unpublish
yeah idk how to write javascript or any other language other than python so no one can do this except in python, sorry
JS: missing sample tests.
missing random tests in all languages.
also idk how to code in javascript so there is no javascript solution for now (or any other language except python)
I need help trying to figure out how to separate the bigger test cases into a different header. How can i do that
thanks for the feedback, ill make sure ill word the description better next time (and actually check if this has been done before as well)
kata got retired, thanks for voting
This comment is hidden because it contains spoiler information about the solution
Would help somewhat if the description was more accurately worded, it should be saying predict, not calculate, and it should not be saying that the number is randomly generated, because it isn't, and it's ambiguous whether it's saying that it's going to run the shown code or if we're supposed to use that to "calculate"
but that still leaves that the kata is just: here's a language feature that does x, which can be repeated for every single feature in the language
This comment is hidden because it contains spoiler information about the solution
I remember this kata in JavaScript. It's retired, and it didn't have a Python version. https://www.codewars.com/kata/582ff3223a0b2b226b0000cd
Loading more items...