摘要: >>> a = 'hahah'>>> a.capitalize()'Hahah' >>> a = 'My name is haha'>>> a.find('name')3>>> a.find('my')-1 >>> a = 'My name is haha'>>> a.index('name')3> 阅读全文
posted @ 2019-10-28 21:20 新新点灯 阅读(201) 评论(0) 推荐(0) 编辑