ascii内置函数作用:将字符串转换成ascii码
示例代码:
s = ‘hello‘ print(ascii(s)) # ‘hello‘
转换相关内置函数_ascii
原文:https://www.cnblogs.com/yujiemeigui/p/14611204.html