pythonchallenge

提示,查看前一关解决方案将url中的pc->pcc

要解决这里面的问题需要有一下蛋疼的精神
    1. 随时查看源代码
    2. 熟悉英语,例如里面给个图是个拉链要坑爹的联想到zip
    3. 熟悉python模块,例如有peak提示让你发音,
       熟悉python的人才知道pickle

0

http://www.pythonchallenge.com/pc/def/0.html
这个题没什么说的 套入计算即可
2 ** 38 = 274877906944

Hint: try to change the URL address
-->
http://www.pythonchallenge.com/pc/def/274877906944.html

1

everybody thinks twice before solving this. thick twice,如果直接按照这三个字母对应的东西解密的话接出来的依然是 乱码,回头一想找到规律,每个小写字母移动了两位,这就是think twice

k -> m o -> q e -> g 给出的提示又都是小写 可以看出规律, s = '''g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. bmgle gr gl zw fylb gq glcddgagclr ylb rfyr'q ufw rfgq rcvr gq qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj.''' import string from = string.ascii_lowercase to = from[2:] + from[:2] table = string.maketrans(from, to) print string.translate(s, table) --> Out[21]: "i hope you didnt translate it by hand. thats what computers are for. doing it in by hand is inefficient and that's why this text is so long. using string.maketrans() is recommended. now apply on the url."

In [22]: string.translate('map', table) Out[22]: 'ocr'

http://www.pythonchallenge.com/pc/def/ocr.htmlarrow-up-right

2

3

4

5

6

7

8

9

10

11

12

13

14

Last updated