3 digits, there are 10 digits: 0, 1, ..., 9. Order matters 123 is a different code than 321, then
Possible codes: 10 * 9 * 8 = 720, since it can not be repeated.
If he chooses one code:
P = 1 / 720 = 0.138 %
Probably, 1/720 is the best way to write the answer since it shows what it means.