Question 1055991
.
If no restrictions on repetition of digits, and
if no restriction of the type "0 can not go first" . . . 


then the number of codes is {{{10^4}}}.


If there are restrictions, they MUST be listed in the condition.


Since we do not see any restrictions in the condition, they do not exist in this problem.