In Response To 'Re: Re: RandomChoice'
I apologize for my error. I hope it is correct now.
Take that a piece at a time. Understand how each piece of that works. Then assemble it one piece at a time and see how the pieces work together until you can see how the entire function works.