# How many possible codes are there if the digits cannot be repeated? How many possible codes are there if the digits cannot be repeated?

## A Store-It-All storage facility requires users to enter a four digit code, using numbers 0-9, to get through the gate. You need to get a box of winter clothes from your storage container, but you forgot the code. How many possible codes are there if the digits cannot be repeated? What is the probability that you will guess the correct code on your first try? P(correct code) = __

$10 \cdot 9 \cdot 8 \cdot 7 = 5040$ different codes.
P(correct code)=$\frac{1}{5040}$