剑指offer(python版本)--题目2 替换字符串

NoSuchKey