code: def lmom(self, *args, nmom=5, **kwds):
          
          ratios = self.lmom_ratios(*args, nmom=nmom, **kwds)
          moments = ratios[0:2]
          moments += [ratio * moments[1] for ratio in ratios[2:]]
          return moments
docs: Compute the distribution's L-moments, e.g. l1, l2, l3, l4, ..
  
          :param args: Distribution parameters in order of shape(s), loc, scale
          :type args: float
          :param nmom: Number of moments to calculate
          :type nmom: int
          :param kwds: Distribution parameters as named arguments. See :attr:`rv_continous.shapes` for names of shape
                       parameters
          :type kwds: float
          :returns: List of L-moments
          :rtype: list