If numbers can be repeated
Probability of guessing correct number in first round $=\dfrac{1}{10}$
Probability of guessing correct number in first round and second round $=\left(\dfrac{1}{10}\right)^2$
Probability of guessing correct number in first round and second round and third round $=\left(\dfrac{1}{10}\right)^3$
Probability of not guessing correct number in first round and second round and third round $=\left(\dfrac{9}{10}\right)^3$
If numbers cannot be repeated
Probability of guessing correct number in first round $=\dfrac{1}{10}$
Probability of guessing correct number in first round and second round $=\left(\dfrac{1}{10}\right)\left(\dfrac{1}{9}\right)$
Probability of guessing correct number in first round and second round and third round $=\left(\dfrac{1}{10}\right)\left(\dfrac{1}{9}\right)\left(\dfrac{1}{8}\right)$
Probability of not guessing correct number in first round and second round and third round $=\left(\dfrac{9}{10}\right)\left(\dfrac{8}{9}\right)\left(\dfrac{7}{8}\right)$