Expected guesses to hit a secret digit
A secret single digit from 0 to 9 is fixed. You guess digits at random, each guess correct with probability independently, stopping when you guess it right.
What is the expected number of guesses until you are correct?