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 didn't realize it would return without calling return. nice.
This is an elegant solution. I'd like to see a line comment that explains what's going on. The concept is slightly obfuscated.
Clear and easy to decipher what is going on. Good Job.
Easy to read. Better practice than one-line sollutions.
we spend most of our time reading code, not writing it.
do us and yourself a favor and learn to write readable code.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Now it expects
Nothing
instead ofJust 0
for[0, 0, 0, 0]
. And there are two more edge cases:[123, 1, -1]
and[1, -1, 123]
.I can't figure out what they want exactly.
I'd like to see the example explained better.
This comment is hidden because it contains spoiler information about the solution
I think it's a great first question for variable assignments.
Make a bunch more that go into more depth.
Using Lists, Tuples, Ints, Dicts, Strings.
have them setup a function that returns the variables etc...
Good Luck
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution