python中字符串的拼接

1、+ 号

2、format()

3、f"{username}登录成功"

4、%s

5、列表中的 join

6、逗号

 

 

http://www.cnblogs.com/gengcx/p/6710914.html

https://www.cnblogs.com/jamsent/p/7183905.html

 

posted @ 2019-01-21 10:48  葡萄想柠檬  Views(128)  Comments(0Edit  收藏  举报
目录代码