![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
西里西里
哈尔滨工业大学
展开
-
python challenge level0
该题计算2^38,然后将结果替换地址栏中得url:http://www.pythonchallenge.com/pc/def/0.htmlhttp://www.pythonchallenge.com/pc/def/274877906944.html程序如下:print(2原创 2013-09-07 12:16:41 · 687 阅读 · 0 评论 -
python challenge level1
通过计算字母映射,得到新的url:http://www.pythonchallenge.com/pc/def/map.htmlhttp://www.pythonchallenge.com/pc/def/ocr.html程序如下:import stringtable = str.maketrans(string.ascii_lowercase, string.asci原创 2013-09-07 12:46:58 · 558 阅读 · 0 评论 -
python challenge level2
查看网页源码,看到内部注释,找到里面出现的字母http://www.pythonchallenge.com/pc/def/ocr.htmlhttp://www.pythonchallenge.com/pc/def/equality.html代码如下:map = {}str = ''with open("ocr.txt") as file: for i in file.r原创 2013-09-07 13:27:20 · 588 阅读 · 0 评论