Home > other >  Python
Python

Time:10-10

O!!!!! The output of 1-5 not to repeat the number of the number of each digit

CodePudding user response:

Pure mathematics, eldest brother,

And your topic is a little ambiguity, consisting of 1-5 how many digits?

5 digit 5 ^ 5,
4 digit is 5 ^ 4
3 digit 5 ^ 3
2 digits is 5 ^ 2
1 digit is 5 ^ 1

All is for the sum of the above