Length of a list
The length of a list is the number of occurrences of elements on the list
Number of days in the months
(31,28,31,30,31,30,31,31,30,31,30,31)
Length = 12
If the number of elements is zero, then the list is said to be empty – e or ()
Previous slide
Next slide
Back to first slide
View graphic version