[Python Challenge] - Q2

来源:互联网 发布:mysql zip安装步骤 编辑:程序博客网 时间:2024/05/01 15:11

Q2:PC----ocr recognize the characters. maybe they are in the book, but MAYBE they are in the page source.

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

 

提示说,可能在网页源文件中,打开源文件,可以看到一大堆“}@[@%]()%+$&[(_@%+%$*^@$^!+”之类的注释。同时上面还有一行注释说find rare characters in the mess below, 就是要找那一大堆注释中比较稀少的字符。

 

PS:我将注释保存到文件“src”中。

 

代码:

正确答案是“equality”,将网页中的ocr替换即可。

原创粉丝点击