摘要:1、在字符串中嵌入双引号和单引号 使用转义字符“\” 示例: 2、打印数字:0001~0009这种形式 示例: 3、Python中的strip()操作字符串方法 示例:str=”hello hai haisljkdj” 1) str.strip() :把字符串头部和尾部空格及\n和\t之类的去掉 2
阅读全文
posted @ 2018-08-26 22:54
posted @ 2018-08-26 22:54