PythonChallenge Level 2

来源:互联网 发布:贴吧源码 编辑:程序博客网 时间:2024/06/05 18:29

http://www.pythonchallenge.com/pc/def/ocr.html

这个比较容易。

看下面的提示:recognize the characters. maybe they are in the book , but MAYBE they are in the page source.

直接看源码,发现有一个注释:find rare characters in the mess below

知道原来就是从一堆杂乱无章的字符中找字符,这个简单,先把那一大堆恶心的字符copy到一个文件中。比如:/tmp/PyCh。

然后:

结果:equality

将ocr改成equality,顺利进入下一关!