defination of median code example
Example 1: what is median
a median is a value separating the higher half from the lower half of a data sample, a population or a probability distribution. For a data set, it may be thought of as "the middle" value.
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.