Python 整型按ASCII码转化为字符和直接转化为字符

print(chr(97))
print(str(97))

结果如下

猜你喜欢

转载自blog.csdn.net/qq_74999830/article/details/130610335