why does my list keep changing after using for loop to append?
that's my problem though, the list and number of combinations are too large to make a close ended list (using product function) to iterate through one by one. in my example there are 49 elements in the list and 6 combinations (with replacement ), meaning a list of 13bn. If i want to expand the list or increase the combinations this gets even worse, hence why am wanting to use random function, to take a sample from the range of possible combinations. If there is no way of using random function then I guess I have no way of solving my problem then.