Learn 8

1. Create a list of methods
      = A [ "A", 123, "ABC", [123]] # created directly used
       b = list("abc") #list
        str, list sequence, sequential, support indexing, slicing
increase:
append
        To the list of final surface
insert
        The first parameter is inserted into the insertion position index, the second parameter value to be added
extend
        Iterative with additional elements, objects may be added if the iterator object is the smallest element in the composition of iterations iterative object is appended to the
 

Guess you like

Origin www.cnblogs.com/computer123/p/11730128.html