Miscellaneous Services

The modules described in this chapter provide miscellaneous services that are available in all Python versions. Here's an overview:
math
— Mathematical functions (sin() etc.).
rand
— Integer random number generator.
whrandom
— Floating point random number generator.
array
— Efficient arrays of uniformly typed numeric values.