Use 0, 1, 2, 3 to form a number without repetition. How many four digits are there

Use 0, 1, 2, 3 to form a number without repetition. How many four digits are there

(1) There are three ways to select thousand bits (0 cannot be selected)
(2) There are three ways to choose a hundred,
(3) There are two choices for the ten,
(4) There is one way to choose individual position,
According to the principle of multiplication: there are 18 kinds of 3 × 3 × 2 × 1