Please let me know if there is English errors on this page.

n-sided dice

It prints a random number from 1 to n.

-sided dice,