三天一小节 需要熟练掌握的类型方法

#数字
    int
#字符串
    replace
    find 
    join
    strip
    startwith
    endwith
    upper
    lower
    format  特殊的 v = template.format(**{name:'fdsa',age:'fdasf'}) 
#列表
    append 
    extend 
    insert
    索引、切片、循环
#元组 忽略
#字典
    get 
    update
    keys
    values
    items
    for 
    索引
#布尔值
0 1 
bool()
为假的:none ()  0  '' [] {}
原文地址:https://www.cnblogs.com/zy0718/p/8436932.html