Answer: I am assuming that 0 in the first place is possible. Seems like a password!!
How many 4 digit combination with one 7 will get you the result. But your question asks for atleast one.
_ _ _ _ Assume this four digit number and fix 7 in any one place. This you can do it in four ways - 4. The second digit from {0-9} except 7 can be chosen in 9 ways. The third digit except 7 and the digit chosen earlier, can be chosen in 8 ways. Similarly, the fourth digit can be chosen in 7 ways. Thus for one 7 to appear in the four digit combination, you can have a total of 4*9*8*7 = 2016 ways.
If you need an answer for 2 7's , 3 7's and 4 7's. Fix the two 7's and this can be done in 4C2 ways= 6. The third digit can be chosen in 9 ways, the four digit can be chosen in 8 ways to a total of 432.
Fix the three 7's and this can be done in 4 ways. The fourth digit can be chosen in 9 ways to a total of 36. And finally, four 7 will get you 1.
Thus for atleast one 7, the number of ways = 2016+432+36+1 = 2485.
Good Luck
Thanks
Satish