

The question says that:
"how many numbers lying between 100 and 1000 can be formed, if the repetition of the digit is allowed?"
It means we have to find all the numbers between 100 and 1000 excluded 100 and 1000
So, the number 100 is not included for finding the total numbers.
