0. Python Collections (Arrays) - nealtran1905/PythonForResearch GitHub Wiki
There are four collection data types in the Python programming language:
List is a collection which is ordered and changeable. Allows duplicate members.
thislist = ["apple", "banana", "cherry"]
Tuple is a collection which is ordered and unchangeable. Allows duplicate members.
thistuple = ("apple", "banana", "cherry")
Set is a collection which is unordered and unindexed. No duplicate members.
thisset = {"apple", "banana", "cherry"}
Dictionary is a collection which is unordered, changeable and indexed. No duplicate members
thisdict = { "brand": "Ford", "model": "Mustang", "year": 1964 }