In [ ]:
import math
In [ ]:
math.factorial(5) # functions in math package
In [ ]:
math.e # variables in math package
In [ ]:
import math as m
In [ ]:
m.factorial(5)
In [ ]:
m.e
In [ ]:
from math import factorial, e
In [ ]:
factorial(5)
In [ ]:
e
In [ ]:
from math import *
In [ ]:
factorial(10)
In [ ]:
e