python - How to compute the value of n+nn+nnn+nnnn with a given digit ...
Write a program that computes the value of n+nn+nnn+nnnn with a given digit as the value of n. For example, if n=9 , then you have to find the value of 9+99+999+9999 I need some pointers to make this