python 格式化输出%

msg = 'aaa: %s bbb: %s  1%%' % ('123', 12)

这里想要表示出1% 要用两个%%

posted @ 2020-04-30 15:36  不一样的开始  阅读(176)  评论(0)    收藏  举报