Brainteaser: If you write out every number from 1 to 100, how many times do you write the digit 9? Answer: 20. Ten of them come from the ones place, in 9, 19, 29 and so on up to 99, and ten more from the tens place in 90 through 99.