Simulating normal random numbers in Python

Using the Box-Muller method

Image source:

In my previous Medium story: I discussed how to simulate random numbers in Python by using a little mathematical method known as “the inverse sampling theorem”. In it, I demonstrated how using nothing but uniformly distributed random numbers in the interval [0, 1] we could produce a set…