python 打印输出百分比符号% python中格式化字符 %% ,可以输出%,如下:>>> print '%.2f%%' % (1.234) 1.23% >>> print '%d%%' % 6868% %% 第一个%是转义的作用