在 Python 中使用 OrderedDict( ) 检查字符串中字符的顺序