Tag: Dictionaries

What’s the difference between list, tuples and dictionaries in Python?

Lists Lists are what they seem – a list of values. Each one of them is numbered, starting from zero – the first one is numbered zero, the second 1, the third 2, etc. You can remove values from the list, and add new values to the end. Example: Your many cats’ names. [code] "A …

Continue reading

Permanent link to this article: https://blog.openshell.in/2013/03/whats-the-difference-between-list-tuples-and-dictionaries-in-python/