Answer:

Step-by-step explanation:
We have total of 10 digits from 0 to 9
We need a four digit code and beginning with a number greater than 7
We have 2 choices for number greater than 7
For first digit we have 2 choices
Now, we are left with 9 choices because one is filled and digits should not repeat.
For second digit we have 9 choices
For third digit we will have 8 choices
And for fourth digit we will have 7 choices
Total number of choices are 
using 


Cancel common terms from numerator and denominator we get:
.