Module: math

>>> import math

>>> math.e
2.718281828459045
>>> math.factorial(5)
120
>>> math.pi
3.141592653589793
>>> math.log10(100)
2.0
>>> math.pow(2,3)
8.0
>>> math.sqrt(125)
11.180339887498949

Comments