rand
The rand module simulates the C library's rand()
interface, though the results aren't necessarily compatible with any
given library's implementation. While still supported for
compatibility, the rand module is now considered obsolete; if
possible, use the whrandom module instead.
See Also:
whrandom (the standard Python random number generator)