Monte Carlo Method, Python Programming, Pi Day.
typeOfRandDistribution=='random.random': x_i=random.random()*2+-1 y_i=random.random()*2+-1 x.append(x_i) y.append(y_i) if (x_i**2+y_i**2)<=1: inside_quadrant+=1 # I've included as an option to select between random.uniform and random.random. The post below says they are similar...but apparently due