pi

The ratio of a circle's circumference to its diameter, about 3.14159, available in Python as math.pi.

In more detail

The course first defines its own global constant PI, then meets math.pi in the math module. Both are floats and so only approximate the true value.

Related terms

Taught in

References