The math module provides access to the underlying C library for floating-point operations:
import math
math.cos(math.pi / 4)
0.70710678118654757math.log(1024, 2)
10.0
The math module provides access to the underlying C library for floating-point operations:
import math
math.cos(math.pi / 4)
0.70710678118654757math.log(1024, 2)
10.0