这是一篇 Python 题解。 Python 中的 ord(s) 函数接受一个长度为 111 的字符串 s,返回它对应的 ASCII 或 unicode 数值。 Python复制print(ord(input().strip()))