摘要: Str字符串的功能介绍 1. 字符串的操作 字符串的连接操作 符号: + 格式:str1 + str2 例如:str1 = 'I Love' str2 = 'You!' print(str1 + str2) >>> 'I Love You!' 返回值:str 字符串的复制操作 符号: * 格式:st 阅读全文
posted @ 2017-08-08 22:46 Python改变生活 阅读(8026) 评论(0) 推荐(2)