摘要: 在 Python 中字符串连接有多种方式,这里简单做个总结,应该是比较全面的了,方便以后查阅。 第一种,+号 >>> a, b = 'hello', ' world' >>> a + b 'hello world' 第二种,逗号 >>> a, b = 'hello', ' world' >>> pr 阅读全文
posted @ 2019-05-09 21:23 iyinguo 阅读(363) 评论(0) 推荐(0)