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