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.
Lua translation!
I am facing the same ppl bro did the author fixed it ?
I did something similar, but it just didn't work.
used almost the same method, nice though)
This is actually an issue, raised 8 years later :-)
Sample and fixed tests such as 0.23 and 0.785 should be added across all languages to invalidate such solutions
Description should be language-agnostic
This comment is hidden because it contains spoiler information about the solution
Uh sorry for not answering, but yes, I've seen your proposal. I wanted to create a fork to test it out but got busy and never got back to the topic.
It would be cool if oyu could at leat create a fork to test the approach, or even fix the issue right away. If you can't then I will, but I do not know exactly when. I have the issue in my backlog nonetheless.
@hobovsky did you see this?
Well, the docs are very clear when it comes to explaining the
raise
keyword. This is the standard, most acceptable way of reporting that something went wrong in the code. What would you suggest instead?I'm not trying to sound condescending (and I hope I'm not being toxic here!), but I don't understand how you could possibly use
try
here.Thanks. I do know about documentation. Please, take trouble and read it (your link). From the first page you've got try:/except: examples of raising ValueError. What I suggested, might improve this kata and Codewars in general. If there would be less trouble with single instances (katas), the better resourse it would be. Yours (1 kyu rating) is not for being toxic, right? :-)
Not a lot better but, what about this?
That shows this error:
I noticed this but I have no good idea how to prevent this. The crappy message comes from Chai :( I will try to figure something out, maybe craft my own assertion.
There's the official documentation you know...
Loading more items...