definition of a median code example
Example 1: median definition
The median is the middle number in a sorted, ascending or descending, list of numbers and can be more descriptive of that data set than the average. The median is sometimes used as opposed to the mean when there are outliers in the sequence that might skew the average of the values.
Example 2: what is a median
Median of a triange is a line that goes from a vertex of the triangle
to the midpoint of the opposite side of that vertex.