code: def median_low(data):
      
      data = sorted(data)
      n = len(data)
      if n == 0:
          raise StatisticsError("no median for empty data")
      if n % 2 == 1:
          return data[n // 2]
      else:
          return data[n // 2 - 1]
docs: Return the low median of numeric data.
  
      When the number of data points is odd, the middle value is returned.
      When it is even, the smaller of the two middle values is returned.