code: def check_exclamations_ppm(text):
      
      err = "leonard.exclamation.30ppm"
      msg = u"More than 30 ppm of exclamations. Keep them under control."
  
      regex = r"\w!"
  
      count = len(re.findall(regex, text))
      num_words = len(text.split(" "))
  
      ppm = (count*1.0 / num_words) * 1e6
  
      if ppm > 30 and count > 1:
          loc = re.search(regex, text).start() + 1
          return [(loc, loc+1, err, msg, ".")]
      else:
          return []
docs: Make sure that the exclamation ppm is under 30.