python数据类型之字符串

1.字符串的定义     法一:str = 'hello world'     法二:str = "hello world"     法三:str = """hello world"""   2.转义符号     *通常为不可打印的字符,用\加一个单一字符组成     \n: 换行符                           \t: tab符     \': 打印单引号        
相关文章
相关标签/搜索