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.