Anonymous user
Shakespeare: Difference between revisions
→Dictionaries
imported>Ynasser (→Lists) |
imported>Ynasser |
||
Line 124:
====Dictionaries====
* Dictionaries are another data structure commonly used in programming. Dictionaries
* Entries in the dictionary are stored <b> orderless </b> (i.e. no way to arrange storage position according to value)
* <b>keys</b> for each entry in the dictionary must be unique, <b> values </b> do not have to be unique.
Line 152:
</pre>
For more information on dictionary: https://docs.python.org/2/tutorial/datastructures.html#dictionaries
====<font color="navy">Lists and Dictionaries Exercises====
<b>List & Iteration Exercise 1:</b>
|