Writing some code.
I have ten groups(0-9). I need to randomly select one of them, but each higher up group needs to have a lower change of being selected. There may also be gaps in the sequence; like the only groups I want to select from might be 0, 5, and 6. Or it might b 3, 7, and 9. Or it might be all of them. Any suggestions.