打印的特殊符号

a = '1'
print '%s' % `a`

如果a是str,打印结果是'1'

如果a是int,打印结果是1

原文地址:https://www.cnblogs.com/iNeoWong/p/4817153.html