python 基础_字符串9
摘要:
凡是重要的# 字符串的创建,字符串可以是单引号创建也可以是双引号创建 str1 = 'hello world' #当你要输出的是单引号的时候,你括起字符串的必须是双引号。当你输出的是双引号的时候,你括起字符串的必须是单引号。 str2 = "hello world" #重复输出字符串 其相对应的操作 阅读全文
posted @ 2018-01-22 19:44 不取名称 阅读(219) 评论(0) 推荐(0) 编辑