Previous Up Next

2.37.14  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