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.
thanks for the reply.
well i made a mistake, accidently opted ruby instead of python. thats why😅😂
In ruby you have 2 types of slicng: m..n - meaning from m till n INCLUSIVE and m...n which does not inclue n. If that answers you question :)
why is it name[0..1]
unlike the python slicing #name[0:2]
#help me, i'm desperate
I spent some time trying to figure out an example from your answer. I came to the conclusion that it has a mistake. "Allow" has base 26, but not 25.
Ohhh ok... Thank you =)
You have to calculate the remainders, not the quotients.
10 / 13 = 1
100 / 13 = 8
1000 / 13 = 77
10000 / 13 = 770
[If you round up for every operation.]
I still don't see how this sequence was achieved: 1, 10, 9, 12, 3, 4
Please explain (if you have the time)
What does the +| mean in here?
Divide some power of 10 by hand and you will see...
Could somebody explain the following part to me?
"
When you divide the successive powers of 10 by 13 you get the following remainders of the integer divisions:
1, 10, 9, 12, 3, 4.
"
Thank you =)
Noice =)
Nice. Thanks =)
Oh sweet. Thankns =)
No I'm just a user... =)
Thanks. Do you work for codewars?
Loading more items...