ord(‘中’)出错代码如下

ord('中')
Traceback (most recent call last):
File "", line 1, in
TypeError: ord() expected a character, but string of length 3 found

中英文输入法搞混淆了吧。。。