In [1]:
import math as m
In [2]:
print(m.pi)
In [3]:
# print(math.pi)
# NameError: name 'math' is not defined
In [4]:
from math import pi as PI
In [5]:
print(PI)
In [6]:
# print(pi)
# NameError: name 'pi' is not defined