python中%s的用法(字符串变量赋值办法),长字符串换行办法

参考:
http://wap.mobiletrain.org/about/BBS/142752.html
https://blog.csdn.net/PolarisRisingWar/article/details/131134627
https://baijiahao.baidu.com/s?id=1756094563884490493&wfr=spider&for=pc

字符串变量赋值

"Hello, %s. Today is %s." % ("Alice", "Monday")

你可能感兴趣的:(python,字符串,赋值)