转换相关内置函数_ord

描述:

ord内置函数作用:将字符转换成对应的编码

示例代码:

s = 'a'

print(ord(a))  #  97
原文地址:https://www.cnblogs.com/yujiemeigui/p/14611248.html