# Approximating Pi (π)** **using Python & Some Math

We’ve all probably learnt about `pi`

(*π*)* *in school at some point in our lives, and know it as the irrational mathematical constant `3.14159......`

, which is defined as the ratio of a circle’s circumference to its diameter. While we can simply get `pi`

using Python’s math module:

`import math`

pi = math.pi # and we get 3.14159......