In [1]:
import math as m

In [2]:
print(m.pi)


3.141592653589793

In [3]:
# print(math.pi)
# NameError: name 'math' is not defined

In [4]:
from math import pi as PI

In [5]:
print(PI)


3.141592653589793

In [6]:
# print(pi)
# NameError: name 'pi' is not defined