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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It doesn't make the code worse either
0
is not necessarylen('1') < len('1') evaluates false, either order is correct in that case unless an extra rule for value order or something was added.
Of course when I finally decide to try numpy i get a huge overflow from a 6040 bit number lol - why dtype = object.
Then see vanilla python has product anyway lol.
Kind of wish i'd not used the compiler's help until being sure it was all correct.
Looks like we need more random tests lol.
was thinking 0- was needed in front but maybe in some other languages?
Odd * odd result is always odd generally.
4,294,967,295 max unsigned or 2,147,483,647 signed 32 bit int value?
Yes I looked up 'character to int' and of course ended up with the character code not the number value, seemed to be working but maybe due to odd and even being preserved.
Strings.StrReverse() Maybe? like how floor has to be math.floor.
I like to add brackets out of habit to guarantee execution order even after rearranging the formula, in this case spacing the + alone would be enough if you are sure add will be run last.