I have been following the tutorial at Codecademy
I see that, as part of the process of creating a virtual die we multiply 'a random number between 0 and 1' by 6 to give us a random number between 0 and 6.
Could you break this logic down and explain why this works?
In short I am looking at this answer and asking for a nice simple explanation for why that works.
The minimum of the random number is zero. $0*6=0$. The maximum of the random number is one. $1*6=6$. the numbers were uniform from the minimum to the maximum, and they still are.