How could I obtain 48 random pairs of two different elements drawn from Range[96]
with no repetition ? That is the 96 elements are only used once.
While I tried Tuples/Subsets combined with Select, I feel there must be a more straightforward way to achieve this.
Please tell me if this is correct:
Partition[RandomSample@Range@96, 2]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With