Methods that do not change the list itself

Count () returns the number of occurrences of a particular element in the list

Index () returns the index position of the first occurrence of an element in the list

In the javascript indexOf ()

The method of changing the list

(1) Append () returns the last single element added

If the element is a sequence, the last element in the list is a list sequence and is not expanded

It is important to remember that lists change dynamically, and if two lists are related, changes in one list will cause changes in the other

(2) extend() adds the elements of another sequence to the end of the list

(3) insert() inserts an element at the specified index position so that the position in the list is equal to the element

(4) remove() removes the first element in the list,