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.
Yep, fixed!
I see what you mean: the fixed/sample tests go from gibberish to real sentences instead of the other way around. I reversed the order, can you check if it is OK for you now ?
what do you mean by
input and output
? I ran the initial code, and the order ofexpected
andactual
seemed correct to meLooks like input and output are reversed in Lua. While this doesn't change the solution, it did puzzle me for a moment because it doesn't match the description.
Thanks for the compassion, lol.
Nice. A bit cleaner than mine, I'll admit.
This comment is hidden because it contains spoiler information about the solution
You're correct, it's best to use
let
in nearly all cases, unless you know what you're doing. I suspect that many of these solutions are old, posted either beforelet
was introduced, or prior to its widespread usage.This comment is hidden because it contains spoiler information about the solution
description updated
great, fixed
I was thinking the same thing. An example would help quite a bit.
This comment is hidden because it contains spoiler information about the solution
There can be no room for debate that this is best practice
Loading more items...