SyntaxFix
Write A Post
Hire A Developer
Questions
random.sample implement it.
>>> random.sample([1, 2, 3, 4, 5], 3) # Three samples without replacement [4, 1, 5]