Create an rng object with np.random.default_rng(), you can seed it for reproducible results. You can draw samples from probability distributions, including from the binomial and normal distributions.
Would you like to be a millionaire? There are several ways to fulfill this dream. For two decades the U.S. edition of Who Wants to Be a Millionaire? promised a million dollars if you could answer 15 ...