We will have the following:
Since the spy sees fingerprints in 9 digits, then she used 9 different numbers for the password, so the posibility will be the following:
[tex]P=\frac{1}{10}\cdot\frac{1}{9}\cdot\frac{1}{8}\cdot\frac{1}{7}\cdot\frac{1}{6}\cdot\frac{1}{5}\cdot\frac{1}{4}\cdot\frac{1}{3}\cdot\frac{1}{2}\Rightarrow P=\frac{1}{5443200}[/tex]