If the numbers are not repeatable,
There are six possibilities for the first number and five possibilities for the second number. . And so on. .
6*5*4*3 == 360
If it can be repeated, it can be regarded as a question of putting it back into the category after drawing lots.
6*6*6*6 == 1296