Python data type, python data type conversion
Python has the following five standard data types:
1. Number
Both the floating point type and integer type are collectively referred to as the numerical type in Python.
2. String
Both one character and multiple characters are character strings in Python and can be identified by single quotation marks or double quotation marks.
3. List
The list is equivalent to an array in C and readable and writable.
4. tuples
Tuples are also equivalent to arrays in C, but the difference between them and the list is that the tuples are "readable and not writable ".
5. Dictionary
It can be understood as an index, which has different "keys" to operate different "values ".
Python can also be considered as nine data types:
1. Integer
2. Floating Point Type
3. Number
4. String
5. List
6. tuples
7. Dictionary
8. Date
9. Boolean