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.
good job
No, why would you think that? Once you get used to this type of if statement its way more readable than an if statement that takes of many lines for no reason.
It's more compact yes, but wouldn't a simple if-else statement be more readable?
I've tried using the return keyword after the conditionals in ternary statements before but it's never worked. It's nice to know that I can use return at the beginning of statements. Cheers!
First time that what I did matches the top solution. Yupiiii
This comment is hidden because it contains spoiler information about the solution
What does "?" mean?
Thanks, GiacomoSorbi! :-)
Oh yeah right thanks
Sum ASCII code.
Third option could be that you didn't read the description properly: non alphabetical characters => string is to be considered empty.
Its no bug und no issue!
Read the description again and then you will find out, why "true" is the right result!
I am using js. I think these are not equivalent: "ZzZz", "ffPFF" so the test fails.
"ZzZz" => 25 * 4 = 100, "ffPFF" => 5 * 4 + 15 * 1 = 35
Am i missing sth here?
They are disabled
Loading more items...