python - basic - basics 5

1, yesterday content review and explain the job
  list:

    Append insert extend by
    puncturing remove pop clear del
    changed Li [index] = 'modified content' Li [slice]: 'is modified content'
    check for loop
      range
  tuples:
    COUNT ()
    len ()
    li.index ( 'element ')
    Sort (reverse = True)
    li.sort ()
    Print (li.sort ())
    reverse () reverse
  PS:
    the Join: List -----> STR
    S.join (Iterable)
    Li = [1,2 ,. 3]
    S1 = STR (Li)
    Split STR ----> List

Job explain:

 

2, the dictionary
3, the dictionary CRUD
4, nested dictionaries

Guess you like

Origin www.cnblogs.com/bigbigbird/p/11199383.html