python- list and recognize the correlation function

 

  • DESCRIPTION additional element --append / extend, look at the method of

Look at two examples to understand the differences method

A string might look better understanding

 

  • Insert element, the element is inserted in front of the specified index

  • Query element
  1. Find index of the element

  2. Find the number of elements

 

  •  Removing elements pop / remove / clear

  • Sort sort / reverse

 

 

See here not understand the students, we come back with the memory comb it again 

shallow copy copy copy [list]

In addition to understanding this article again you can look at http://www.cnblogs.com/smileyes/p/7020320.html

 

 Transfer: https://www.cnblogs.com/smileyes/p/7039829.html

 
 

Guess you like

Origin www.cnblogs.com/dreamhighqiu/p/10990083.html