Unfortunately you can’t remember the code for your lock, which accepts combinations from 0000 to 9999. You only know that you didn’t use any digit more than once. How many different ways do you have to try?
Your answer seems reasonable.
Find out if you're right!