
We’ll take what we learned in the previous part and start fleshing out our Monte Carlo (“MC”) simulation. First, let’s import the random and math classes – we’ll need them. In our Python script, we’ll add a new function to our class. We’ll call this…