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.
The author needs to rewrite the instructions, only when I made the attempt did I know that all sorts of letters can be added to the ISBN when the instructions clearly say 0 to 9 and 10 can be either 0 to 9 or X.
I'm completely lost. How is it that 5**10 is 5? To be a narcissitic number, it should be 5, but my result is 9765625. Where am I getting lost? Can someone guide me?
Completely right, the instructions could be better. Chrono79 is answering with a 1kyu level.
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.
The author needs to rewrite the instructions, only when I made the attempt did I know that all sorts of letters can be added to the ISBN when the instructions clearly say 0 to 9 and 10 can be either 0 to 9 or X.
I'm completely lost. How is it that 5**10 is 5? To be a narcissitic number, it should be 5, but my result is 9765625. Where am I getting lost? Can someone guide me?