字符串:
str.lower():将str中的大写字母转小写字母
str.upper():将str中的小写字母转成大写字母
str.swapcase():将str中的大小写互换
str.capitalize():只保留str中首字母大写 (整个字符串整体)如‘helLO,WorLD’----->‘Hello,world’
tring.capwords(str):只保留str首字母大写 (每个单词)如‘helLO,WorLD’----->‘Hello,World’ (import string)