python python 赋值、深浅拷贝、作用域 python字符串如何去掉英文字母以外的字符 Python中self用法详解 Python 字典操作进阶

b=a.reverse()改变列表本身

print(b)=None

列表的reverse函数不返回任何值

并且是指针赋值

所以

若赋值给b会一起改变 以下

https://blog.csdn.net/huruzun/article/details/50963280

python字符串如何去掉英文字母以外的字符

for in oldS:

    if s.isalpha():
        newS += s
print newS

Python中self用法详解

https://blog.csdn.net/CLHugh/article/details/75000104

Python 字典操作进阶

字典交集,字典最大最小,字典转变成列表,合并字典,有序化,映射多个值