msg = ‘aaa: %s bbb: %s 1%%‘ % (‘123‘, 12)
这里想要表示出1% 要用两个%%
python 格式化输出%
原文:https://www.cnblogs.com/zjj1990/p/12809185.html