对%的转义

1 >>> print('growth rate: %d %%'% 7)
2 growth rate: 7 % #百分号对百分号的转义

 

posted @ 2017-04-29 20:05  道高一尺  阅读(400)  评论(0)    收藏  举报