task1
task2
task3
task4
task5
task6
task7
总结
1. ’ ’.join():扩号里是需要被放在一起的字符串,引号中是字符串间的分割符号
2.for遍历列表,通过列表推导式得到新列表
.title()将字符串转成title类型
3. .split():将单词分开
.count():查找某字符串出现的次数
.splitlines():分行
.replace( , ):替换