The sequence in Python is the most basic data structure. Each element in the sequence is assigned a number (his position or index), the first index is 0, the second index is 1, and so on. Python's list data type is similar to an array in C, but the difference is that a list data type can contain elements of any type. The column represents one of Python's most commonly used data types, and he can appear as a comma-separated value within a square bracket. Like a string also has additions and deletions to change the operation. So the list is an ordered set.
Note: If there is only one element in the list, such as [12,], you need to add a comma. The purpose is to misinterpret the parentheses in the mathematical sense.
1. Simple application of the list
1.1 Creating a list
2. Application of a list of common built-in functions
(Continuous edit ... )
Python Notes _ First article _ Lad work _5.python list type of data type (list)