I was stuck for like an hour on the punctuation! but at the end wasn't such a bad kata =)
same
name to slices part is rather tough for me
I think this should be at least a rank 7 question, trying to do this in JS is a lot harder than in python for example.
Не является вопросом + просьба воздержаться от публикации готовых решений в комментариях, тем более что они всё равно помечаются как спойлеры.
Not a question + please don't publish solution in the comments, especially when they're marked as spoilers.
Really nice!
This comment is hidden because it contains spoiler information about the solution
I have no idea how to not get my Python code to not time out, everything else works.
You take the number and its exponent is the number of digits in said number. That is why any single digit is a Narcisitic number. 5 is 1 digit, therefore 5**1 = 5.
Loading collection data...
I was stuck for like an hour on the punctuation! but at the end wasn't such a bad kata =)
same
name to slices part is rather tough for me
I think this should be at least a rank 7 question, trying to do this in JS is a lot harder than in python for example.
Не является вопросом + просьба воздержаться от публикации готовых решений в комментариях, тем более что они всё равно помечаются как спойлеры.
Not a question + please don't publish solution in the comments, especially when they're marked as spoilers.
Really nice!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I have no idea how to not get my Python code to not time out, everything else works.
You take the number and its exponent is the number of digits in said number. That is why any single digit is a Narcisitic number.
5 is 1 digit, therefore 5**1 = 5.