
math — Mathematical functions — Python 3.13.3 documentation
3 days ago · math — Mathematical functions¶ This module provides access to the mathematical functions defined by the C standard. These functions cannot be used with complex numbers; …
Numeric and Mathematical Modules — Python 3.13.3 …
3 days ago · The modules described in this chapter provide numeric and math-related functions and data types. The numbers module defines an abstract hierarchy of numeric types. The …
cmath — Mathematical functions for complex numbers - Python
2 days ago · This module provides access to mathematical functions for complex numbers. The functions in this module accept integers, floating-point numbers or complex numbers as …
statistics — Mathematical statistics functions — Python 3.13.3 ...
22 hours ago · This module provides functions for calculating mathematical statistics of numeric (Real-valued) data. The module is not intended to be a competitor to third-party libraries such …
random — Generate pseudo-random numbers — Python 3.13.3 …
1 day ago · This module implements pseudo-random number generators for various distributions. For integers, there is uniform selection from a range. For sequences, there is uniform selection …
6. Modules — Python 3.13.3 documentation
1 day ago · A module is a file containing Python definitions and statements. The file name is the module name with the suffix .py appended. Within a module, the module’s name (as a string) …
The Python Standard Library — Python 3.13.3 documentation
1 day ago · Numeric and Mathematical Modules. numbers — Numeric abstract base classes; math — Mathematical functions; cmath — Mathematical functions for complex numbers; …
Built-in Functions — Python 3.13.3 documentation
1 day ago · Built-in Functions¶ The Python interpreter has a number of functions and types built into it that are always available. They are listed here in alphabetical order.
operator — Standard operators as functions - Python
2 days ago · The operator module exports a set of efficient functions corresponding to the intrinsic operators of Python. For example, operator.add(x, y) is equivalent to the expression x+y . …
10. Brief Tour of the Standard Library — Python 3.13.3 …
The math module gives access to the underlying C library functions for floating-point math: >>> import math >>> math . cos ( math . pi / 4 ) 0.70710678118654757 >>> math . log ( 1024 , 2 ) …