Strings
Data that involves text β either letters, numbers, or special characters. Strings are enclosed in either single- or double-quotation marks: "string-1" or 'string-2'.
List
In Python, a list is a collection of data that stores multiple items in a single variable. These items must be ordered, able to be changed, and can be duplicated. A list can store data of multiple types; not all the items in the list need to be the same type.
Tuple
A tuple is a collection which is ordered and unchangeable. Itβs designated using parentheses (): ("red", 1, 1.03, 1).
Set
A set is a collection which is unordered, unchangeable, and does not permit duplicate items. Itβs designated using curly brackets {}: {"red", 1, 1.03}.
Dictionaries
In Python, a dictionary is a collection of data that occurs in an order, is able to be changed, and does not allow duplicates. Data in a dictionary are always presented as keys and values, and those key-value pairs cannot be duplicated in the dataset.