I want to select a number randomly, but based on probability from a group of numbers; for example (2-6).
I'd like the following distribution:
- 6's probability should be 10%
- 5's probability should be 40%
- 4's probability should be 35%
- 3's probability should be 5%
- 2's probability should be 5%