On 8 September 2016 at 13:23, Nick Coghlan <ncoghlan at gmail.com> wrote: > Beyond that practical benefit, if you want > random-sampling-with-replacement, then "map(random.choice, container)" Oops, that was supposed to be "map(random.choice, itertools.repeat(container))". Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia