Uniform Sampling Code Example In Python Mean