What are the characteristics of python list
This article will explain in detail the characteristics of the python list, which the editor thinks is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Characteristics
1. A set of orderly project collections, variable data types, which can be added, deleted, changed and checked.
2. The list collects data around square brackets [], and different members are separated by.
3. The list can contain any data type or another list, and the same type is not required.
4. The list can access the members by serial number.
Example
> list1= [1, kkk, [12 "," bb "] > list2= [12," kkk ", [12", "bb"] > list2 [12, 'kkk', [' 12, 'bb']] > this article on "what are the characteristics of python list" is shared here. I hope the above content can be helpful to you, so that you can learn more knowledge, if you think the article is good. Please share it for more people to see.