Frankly, it's quite unclear what exactly you try to do.
i.e. if you want to generate a random list of 6, that starts with (1, 2) or (3, 6), then I would randomly choose one of the two, then generate 4 more random numbers and combine the two into list of 6 random numbers. I would not generate batches of 6 random numbers till first 2 satisfy my condition
Would you elaborate?
i.e. if you want to generate a random list of 6, that starts with (1, 2) or (3, 6), then I would randomly choose one of the two, then generate 4 more random numbers and combine the two into list of 6 random numbers. I would not generate batches of 6 random numbers till first 2 satisfy my condition
Would you elaborate?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs