2011-11-24

python lists and dictionaries

This one is specially for those, who mostly are programming in such languages, where the term "associative array" (like PHP) is used.
Python list, as I now understand, is a 1 dimensional unassociative array where each element has its own key mostly with ascending integer.
And the python dictionary is a 1 dimensional associative array where the key for each element can be ... string.

Nav komentāru:

Komentāra publicēšana