How could I randomize a list or array of numbers with different percentages? For example:
To clarify, is there a way for there to be a certain percent chance for the 1 (or any other number) to print? Like 1 has a 4% chance of happening, 2 has a 93% chance of happening, and 3 has a 3% chance of happening. Just a question that popped up.
View on Stack Overflow
