We get 9999 possible combinations that the digits 0-9 can be arranged into to form a four-digit code.