📄️ List
Up until now we have stored a single value in a variable, but what if we need to hold multiple values in some variable? Do we create multiple variables? Of course not, Python has a built-in mechanisms for dealing with collections of data which we call data structures. In this lesson we first take a look at list.
📄️ Tuple
Tuple is an ordered and immutable collection data structure. Ordered meaning it keeps the order of elements in which they are inserted, and immutable means that once the tuple is created it cannot change, and you cannot add or remove elements from it.
📄️ Set
A set in Python is unordered collection of unique elements. Unordered means it does not keep the order of the elements and unique means it does not allow duplicates.
📄️ Dictionary
Dictionaries in Python are mutable and unordered collection data structure. Mutable meaning it can be modified after creating and unordered meaning it does not keep track of it's elements.
📄️ Comprehensions
Comprehensions in Python provide a short and clear way to create new sequences from existing iterable. Basically they are a fancy syntax for simple for-loop pattern.