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.
How does it work? why you can just swap base and power and it still works?
You've wrote a great elegant solution but it's very unclear. I spend half a day to understand what your code actually does. It is the case where comments are absolutely necessary
why square root?
This comment is hidden because it contains spoiler information about the solution
checking for empty string.
empty string is boolean False so when s exists (== True) Python returns this expression:
otherwise it returns s which is ""
I solve this years ago, and I use python2 at that time.
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
stupid technical requirement
This comment is hidden because it contains spoiler information about the solution
here as A we recieve function (b=>....)
later we call that function a(1) and it recieves as b "1" (1=>...)
also we call this function a(2) and it recieves as b "2" (2=>....)
we get first item of arrays of both functions and doing Math
Hope it helps )
explain this please (a=>a(1)[0]**2*a(2)[0])
why this doesn't work :
while ( ( xsSymbol.iterator.next() ) && !found ) {......}
why have we to use variable
iterator
to storexs[Symbol.iterator]()
?