In that case, we can use the keyword from to extract only the functionality we care about, like here with from math import pi.
from
from math import pi
Make sure to pick from, followed by math, and finally import.
math
import