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 had the same solution but without the '+' and of course got a string returned. Had to google this unary plus and learned something really cool and valuable today thanks to you. Thanks!
OP solved it, closing
What do you mean the wrong way? Isn't that how we're supposed to do it? I mean, there's no way you can access a variable of an inner function without receiving it directly from them (by return) or forcing them to leak the variable onto the global scope (like what you did)
Fixed..
I don't get it. I tried light mode and looks fine to me?Can you give me more information about problem?
I checked again, you are refering to definition of kata. Will fix it..
Thnx
This is barely visible in light mode
or u can save the calculations
It will even throw an error if not an array. @_@
Because sometimes we want to convert from one type to another.
nice kata, with a touch of computer history and knowledge
damnnnnnn
this was fun to look at all the very different ways it was solved
Yes, you pass a sample in the form of two arrays which you have to create yourself to
scales.getWeigh()
and it returns a response. For example, if ball 1 is the heavy ball, the following will happen:This comment is hidden because it contains spoiler information about the solution
Power and root are inverse operations, so your myPow function can with a very small modification be used to compute root instead.
Loading more items...