Ratings & reviews
Martin B.
24 days ago
good
Grom C.
39 days ago
It's very simple, very bite-sized, straight to the point, 10/10.
jean pierre k.
42 days ago
Everything is clear
Complete all chapters to get certificate
0%
Dictionary
What is a dictionary? A dictionary is an ordered and changeable collection with no duplicate members. A dictionary holds `key:value` pairs. Key-value is provided in the dictionary to make it more optimized.
Tuple
What is a tuple? A tuple is a collection that is ordered and unchangeable. This collection allows duplicate elements. A tuple is a collection that is very similar to a list. The sequence of values stored in a tuple can be of any type, and they are indexed by integers. Values of a tuple are syntactically separated by ‘commas’. Although it is not necessary, it is more common to define a tuple by closing the sequence of values in parentheses. This helps to understand the Python tuples more easily.
Set
What is a set? In Python, a `set` is an `unordered collection` of data type that is `iterable`, `mutable` and has `no duplicate elements`. The order of elements in a set is undefined, though it may consist of various elements. The major advantage of using a set as opposed to a list is that it has a highly optimized method for checking whether a specific element is contained in the set.