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.
After much thought, my brain came up with an answer of 42
.
Let's not give anyone any stupid ideas, please.
This comment has been deleted.
This comment is hidden because it contains spoiler information about the solution
Nope, I think the first comment's correct.
You can't multiply an integer by a string, but you CAN multiply a string with an integer.
this is the way.
10 min to understand the description
Cool!
Awesome!
Just when I think I did good, someone else does it in one line TT
Approved.
Thanks!
Lua translation!
In python I wrote up a solution however very occasionally it would fail some random tests for example:
a = 40 b = 47 c = 4 -1.18 should equal -1.17
I think there is something wrong in the reference solution when testing the random cases because
-47/40 = -1.175 and if you round this to 2dp it will be -1.18
Thanks! I see it is already approved, will mark as resolved.
Loading more items...