Python中的字符串常用处理方法
字符串 字符串就是一系列的字符。在Python中,用引号括起的都是字符串,其中的引号可以是单引号,也可以是双引号,如下所示: "This is a string." 'This is also a string.' 这种灵活性让你能够在字符串中包含引号和撇号: 'I told my friend,
posted on 2022-12-04 23:04 lovingbird 阅读(413) 评论(0) 编辑 收藏 举报
posted on 2022-12-04 23:04 lovingbird 阅读(413) 评论(0) 编辑 收藏 举报