There are countless kinds of data content that can be customized in Python, but there are six types of system default standards:
First, Number type
Divided into four categories:
int integral type
float Float Type
BOOL Boolean type
string literal type
The string type is the type of text enclosed in quotation marks:
Each quotation mark can contain other two-way quotes. You can also use escape characters in a way that
Note:
Escape characters:
Complex plural type
Second, list type
A list is a set of sequential data combinations that can be modified. The identification symbol for the list is []
Example: List1 = [1,3,4,5,8]
Iii. type of tuple primitive
Ganso is a set of sequential data, similar to a list, but cannot be modified. The identifier for the Ganso is ()
Example: Tule = (3,5,7,98,90)
Iv. Set Set type
A collection is a set of data that is not ordered, and all data is unique and not duplicated. No glyphs
V. Dict dictionary Type
A dictionary is a set of data that can be modified without order, and the data is in the form of a key-value pair. The glyph is {}
Learn python python data type in brother