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.
input 7 has only one digit. so, 7**(1) is the way to look at it.
for example 456 is the input then execution looks like 43 +53 +6**3 because it has 3 digits
Please specify language (I suspect JS), and mark it as an issue.
Thanks. I hope u rated it.
5 probably wouldn't be unreasonable. But I think it also passes for a "tough 6". Ratings are a little subjective here ;)
This comment is hidden because it contains spoiler information about the solution
The exponent is based on the number of digits the number is composed of. So 7, being composed of 1 digit, would be 7^1, which is 7.