menu_book Course Curriculum (Statistics) expand_more
Descriptive Statistics
Probability
Distributions
Sampling & Estimation
Hypothesis Testing
simple random sampling
Learn simple random sampling in Statistics with a dedicated explanation, a concept-specific example, practical cautions, and a mastery check.
12 min read
•
Intermediate
Advertisement
statistics-025.py
python
import random
rng=random.Random(42)
population=list(range(1,101))
print(rng.sample(population,10))
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content