Simply click the green flag to run. Use the slider at the bottom to set the order magnitude between 1 and 6, inclusive, that determines how many loops will be used. 10 x 10 x 10 x... = 10 ~ 1,000,000
A visualization of Scratch's random number generator showing how uniform (or not) the RNG is. This version chooses a random number between 0 and 9, inclusive, at the provided number of times set by the slider. A list stores the total amount of times each number was randomly generated in the respective index of that number + 1 (because Scratch's List's aren't 0 based), so the totals for the number 0 are stored in first index of the List which is 1, the totals for the number 1 are stored at index 2 and so on.