
Python Data Structures #1: Dictionary Object
Brian Faure · 61,6 N lượt xem · 25 thg 8, 2017
Mô tả
In this video, we will begin by discussing the basics of the built-in dictionary class then work our way towards the performance benefits of using a dictionary over a list object.
If you're interested in Python GUI development check out my video series starting with: • Python GUI Development #1 - First Steps .
Some dictionary documentation...
https://docs.python.org/2/library/std...
https://docs.python.org/2/tutorial/da...
In computer science, an associative array, map, symbol table, or dictionary is an abstract data type composed of a collection of (key, value) pairs, such that each possible key appears at most once in the collection.
Operations associated with this data type allow:
the addition of a pair to the collection
the removal of a pair from the collection
the modification of an existing pair
the lookup of a value associated with a particular key