Statistics Attributes

statistics.NormalDist.median

Read the 50th percentile of the represented normal distribution, equal to its mean.

Formal Syntax & Structure

python syntaxpython
distribution.median

Return Value

float

Floating-point distribution metadata.

Working Example

Example Snippetpython
import statisticsprint(statistics.NormalDist(12, 3).median)
Python Reference