立即学习:https://edu.csdn.net/course/play/26676/338776?utm_source=blogtoedu
利用对象的属性和方法组成语句,进而形成程序
dir()查看属性和方法
string.index('部分字符',start,end)
在某一个范围内查找部分字符出现的位置
string.split(' ')分割字符串成列表
string.join(list)连接列表中的元素
"I like {0} and {1}".format('PHP','money')字符串的格式化 花括号里的相当于占位符