At least one 0 [zero] .....and at least one nonzero [1, 2, 3, 4, 5, 6, 7, 8, 9] ..... we gotta take......and we got 3 spots to fill.....
We can possibly take 1 zero.....or 2 zero.......we cant take 3 zero because then no spot will be left for at least 1 nonzero.......
[ ] [ ] [ ]
Now there are 2 possible scenario.....
1. We take 1 zero and the other 2 spots will be automatically non zero
2. We take 2 zero and the other 1 spot will be nonzero....think of this scenario as we take 1 nonzero and other 2 spots will be automatically zero......
So..... when we take 1 zero.....
[0] [1,2,3,4,5,6,7,8,9] [1,2,3,4,5,6,7,8,9]
First sub scenario : 1st spot is zero.....so second and third spot can each have 9 possible digits.....so 9 × 9 = 81 possibility....
[1,2,3,4,5,6,7,8,9] [0] [1,2,3,4,5,6,7,8,9]
Second sub scenario : 2nd spot is zero.....so first and third spot can each have 9 possible digits....so 9 × 9 = 81 possibility....
[1,2,3,4,5,6,7,8,9] [1,2,3,4,5,6,7,8,9] [0]
Third sub scenario : 3rd spot is zero.....so first and second spot can each have 9 possible digits....so 9 × 9 = 81 possibility....
And when we take 1 nonzero.....
[1,2,3,4,5,6,7,8,9] [ 0 ] [ 0 ]
First sub scenario : first spot is nonzero..... So 9 possiblity
[ 0 ] [1,2,3,4,5,6,7,8,9] [ 0 ]
Second sub scenario : second spot is nonzero..... So 9 possiblity
[ 0 ] [ 0 ] [1,2,3,4,5,6,7,8,9]
Third sub scenario : third spot is nonzero.... So 9 possiblity
So..... Total scenario = 81+81+81+9+9+9 = 270
And 1 scenario is real one among these..... So probability should be 1 / 270.....buuut......he will try 10 scenarios.....so his probability is 10 × [ 1 / 270 ] = 1 / 27 ........
!nah id win!