列表和字符串

列表取值:

列表插入与删除:insert、append、remove

extend模块:

reverse模块和sort模块:

pop模块:

count模块:统计某个值在列表中的多少

 列表的变量与变量的赋值区别:

 

在执行deepcopy之前还需要import  copy 

字符串:

格式化字符串:

 模块:

         

        

原文地址:https://www.cnblogs.com/caibao666/p/6069871.html