字符串之切片
摘要:
字符串概念及作用 字符串相关操作 索引 Python的字符串是不可以改变的字符序列 正向索引: s=”ABCD” s[0] #A s[4] #D 反向索引: s[-4] #A s[-1] #D 切片 阅读全文
posted @ 2018-03-21 17:33 WorthWaitingFor 阅读(1229) 评论(0) 推荐(0) 编辑
posted @ 2018-03-21 17:33 WorthWaitingFor 阅读(1229) 评论(0) 推荐(0) 编辑
posted @ 2018-03-21 17:32 WorthWaitingFor 阅读(400) 评论(0) 推荐(0) 编辑
posted @ 2018-03-21 17:27 WorthWaitingFor 阅读(136019) 评论(5) 推荐(13) 编辑
posted @ 2018-03-21 16:38 WorthWaitingFor 阅读(970) 评论(0) 推荐(0) 编辑
posted @ 2018-03-21 11:00 WorthWaitingFor 阅读(261) 评论(0) 推荐(0) 编辑