I got a pool of numbers (for example {3,6,7,11,20}) and i need each number to appear in my collection x times.
My solution was to create a class, let\'s call it \"el
here is simple Python program
import random def genRNum(): numlist = [3,6,7,11,20] i = random.randrange(0,4) RNum = numlist[i] print(RNum) genRNum()