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.
Personally I'd recommend WolframAlpha for quick computations or SymPy for symbolic mathematics. You could also use tools like Mathematica or Maple, but I am less familiar with those.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Really enjoying the series, thanks @JohanWiltink
Thank you, I actually agree with both your changes. Self-describing code is always a good idea (especially when there are no comments) and using
next(iter(...)) or set.pop()
is definitely better than creating an entire tuple just to access one item.Yes the logic is incorrect, my bad...
I corrected it in fork.
No need to reinvent the wheel. Using libraries or modules shouldn't be frowned upon, unless it's explicitly stated you shouldn't be using them.
This comment is hidden because it contains spoiler information about the solution
Just a stylistic choice.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
That way all the numbers are stored in memory and don't have to be (re)computed for every function call.
Approved
Loading more items...