Dictionaries: Length
Syntax: len(list)
E.g.
>>> d = {'item':'tire','price':20.99}
>>> len(d)
2
Previous slide
Next slide
Back to first slide
View graphic version