### 6.1.3 Length of a sequence or list

You can find the length of a sequence or list with any of the size, nops or length commands.

- Each of size, nops and length takes S, a sequence or list.
- Each of size(S), nops(S) and length(S) returns the length of L.

#### Examples

nops(a,e,i,o,u)

or:

size(a,e,i,o,u)

or:

length(a,e,i,o,u)

5 |  |  |  |  |  |  |  |  |  |

nops([3,4,2])

or:

size([3,4,2])

or:

length([3,4,2])

3 |  |  |  |  |  |  |  |  |  |