lists and dictionaries now that we've learned about numbers and stringsthis moves on to give the full story on python' list and dictionary object types--collections of other objectsand the main workhorses in almost all python scripts as you'll seeboth types are remarkably flexiblethey can be changed in placecan grow and shrink on demandand may contain and be nested in any other kind of object by leveraging these typesyou can build up and process arbitrarily rich information structures in your scripts lists the next stop on our built-in object tour is the python list lists are python' most flexible ordered collection object type unlike stringslists can contain any sort of objectnumbersstringsand even other lists alsounlike stringslists may be changed in place by assignment to offsets and sliceslist method callsdeletion statementsand more--they are mutable objects python lists do the work of many of the collection data structures you might have to implement manually in lower-level languages such as here is quick look at their main properties python lists areordered collections of arbitrary objects from functional viewlists are just places to collect other objects so you can treat them as groups lists also maintain left-to-right positional ordering among the items they contain ( they are sequencesaccessed by offset just as with stringsyou can fetch component object out of list by indexing the list on the object' offset because items in lists are ordered by their positionsyou can also do tasks such as slicing and concatenation variable-lengthheterogeneousand arbitrarily nestable unlike stringslists can grow and shrink in place (their lengths can vary)and they can contain any sort of objectnot just one-character strings (they're heterogene