Previous Up Next

5.43.18  Sizes of a list of lists: sizes

sizes takes as argument a list of lists.
sizes returns the list of the lengths of these lists.
Input:

sizes([[3,4],[2]])

Output:

[2,1]

Previous Up Next