code: def spread(samples):
      """calculate the range for a list of points
  
      ``spread(x) = max(x) - min(x)``
  
      Args:
          samples (list): a list of sample points
  
      Returns:
          the range of the samples"""
      return max(samples) - min(samples)
  
imports: from mystic.math.stats import *
  from mystic.math.samples import *
  from mystic.math.integrate import *
  from mystic.symbolic import generate_solvers, generate_constraint, solve
  from mystic.symbolic import generate_conditions, generate_penalty
  from mystic.math import almostEqual
  from mystic.math.distance import Lnorm
  from numpy import asarray
label_desc: Use image node_id 2 for calling a global function with example usage: spread(samples) and returns: unknown