code: def getMedian(numericValues):
      
      theValues = sorted(numericValues)
  
      if len(theValues) % 2 == 1:
          return theValues[(len(theValues) + 1) / 2 - 1]
      else:
          lower = theValues[len(theValues) / 2 - 1]
          upper = theValues[len(theValues) / 2]
  
          return (float(lower + upper)) / 2
docs: Gets the median of a list of values
      Returns a float/int