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.
thats crazy
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It's shorter, and actually a bit more readable than the equivalent line with 3 if/else
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
already discussed some messages below + see the fork
This sollution will not work all the times. If generated words contain capital letter inside, the result will be other than expected:
example:
input string s: 'wrong SoLlution'
expected: '#WrongSollution'
observed: '#WrongSoLlution' <-- one L is capital
If I am wrong, please do let me know.
This comment is hidden because it contains spoiler information about the solution
Can't say that I like this solution in generally, but this boolean is instructive indeed!
Hover the link with your mouse, you'll see the address somewhere in your browser (generally bottom left corner). Note: do you really believe that a mod of the website will give you a malicious link!???!? XD
;)
Didn't know that.
Thanks and sorry.
Posts here are visible in the home page if not marked as spoilers.
Why the spoiler if i commented on a solution so only people who solved it can see my comment.
And sorry i didn't trust the link you proposed because it doesn't show the link.
Thanks mate, i figured it out by myself what i was missing is that True and variable returns variable.
Loading more items...