# 5 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.).

whrandom
  -- Floating point pseudo-random number generator.

random
  -- Generate pseudo-random numbers with various common distributions.

rand
  -- Integer pseudo-random number generator (obsolete).

array
  -- Efficient arrays of uniformly typed numeric values.

- 5.1 Built-in Module `math`
- 5.2 Built-in Module `cmath`
- 5.3 Standard Module `whrandom`
- 5.4 Standard Module `random`
- 5.5 Standard Module `rand`
- 5.6 Built-in Module `array`