Lists: Length
Syntax: len(list)
E.g.
>>> l = [1, ["2", 4], 3.0]
>>> len(l)
3
>>> l = []
>>> len(l)
0
Previous slide
Next slide
Back to first slide
View graphic version