Import the pi functionality from the math module.
pi
math
Make sure to pick from, followed by math, and finally pi.
from