Peter Otten wrote: > Steven D'Aprano wrote: > >> # Get ten random samples, sampling with replacement.
I can quote. But not read ;( >> samples = [random.choice(subset) for i in range(10)] Sorry for the noise. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor