Skip to content
jasper-zanjani edited this page Aug 6, 2020 · 1 revision

Random choice with replacement

random.choice(iterable)

Shuffle elements of an iterable in-place [FP:42]

random.shuffle(iterable)

Clone this wiki locally