python %的转义输出

1怎样输出23%呢?使用%%输出%,用来代替/的转义输出

例子;

 print("%s%%"%(23))

 

 

posted @ 2018-11-19 00:39  鹰东颖  阅读(5127)  评论(0)    收藏  举报