
math — Mathematical functions — Python 3.13.3 documentation
4 days ago · This module provides access to the mathematical functions defined by the C standard. These functions cannot be used with complex numbers; use the functions of the …
Built-in Functions — Python 3.13.3 documentation
2 days 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.
statistics — Mathematical statistics functions — Python 3.13.3 ...
1 day 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 …
Numeric and Mathematical Modules — Python 3.13.3 …
4 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
3 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 …
The Python Standard Library — Python 3.13.3 documentation
2 days ago · While The Python Language Reference describes the exact syntax and semantics of the Python language, this library reference manual describes the standard library that is …
random — Generate pseudo-random numbers — Python 3.13.3 …
2 days ago · Almost all module functions depend on the basic function random(), which generates a random float uniformly in the half-open range 0.0 <= X < 1.0. Python uses the Mersenne …
operator — Standard operators as functions - Python
3 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 . …
6. Expressions — Python 3.13.3 documentation
2 days ago · The function math.fmod() returns a result whose sign matches the sign of the first argument instead, and so returns -1e-100 in this case. Which approach is more appropriate …
fractions — Rational numbers — Python 3.13.3 documentation
3 days ago · From Python 3.2 onwards, you can also construct a Fraction instance directly from a decimal.Decimal instance. limit_denominator ( max_denominator = 1000000 ) ¶ Finds and …