listtools.weight — Abjad v1.1.1 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »

# listtools.weight

`abjad.tools.listtools.` `weight`(l)

  Return the sum of absolute value of elements in iterable l.

      abjad> l = [-1, -2, 3, 4, 5]
      abjad> listtools.weight(l)
      15

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »