摘要: 1、str.find() /str.rfind()从左边或右边开始查找字符串 >>> str="hello world itcast itcastpython" >>> str.find("itcast") 12 >>> str.rfind("itcast") 19 >>> str.find("an 阅读全文
posted @ 2017-03-29 22:25 漫舞沧海 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1、列表值获取 2、列表简单运算操作 3、计算列表长度、最大值、最小值 4、list转换函数 5、删除列表中元素 6、列表常用方法 阅读全文
posted @ 2017-03-29 20:33 漫舞沧海 阅读(166) 评论(0) 推荐(0) 编辑