摘要: # expandtabs,断句 test="12345678\t9"v=test.expandtabs(6)print(v) #12345678 9 test="username\temail\tpassword\nlaiying\tlaiying.com\t123\nlaiying\tlaiyin 阅读全文
posted @ 2018-07-27 18:06 漫语慢蜗牛 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 上节内容回顾和补充 unicode utf8 gbkutf8 3字节gbk 2字节 inp=input(" ")inp="10"如果把字符串转换成数字 new_inp=int(inp) 补充 a.while else count=0 while count<10: print(count) coun 阅读全文
posted @ 2018-07-27 08:28 漫语慢蜗牛 阅读(202) 评论(0) 推荐(0) 编辑