code: def expon(
      intensity=1.0,
      sample_size=10000,
  ):
      sample = stats.expon(scale=1.0 / intensity).rvs(size=sample_size)
      res = stats.kstest(sample, "expon", (0, 1.0 / intensity))
      print(
          "\nKolmogorov-Smirnov test of exponential random sample from scipy.stats"
      )
      print(f"intensity: {intensity}")
      print(f"sample_size: {sample_size}")
      print(f"results: {res}\n")
      return res
  
imports: from scipy import stats
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: expon(intensity, sample_size) and returns: res