pythonchallenge Level 5

第5关地址:http://www.pythonchallenge.com/pc/def/peak.html

pythonchallenge Level 5

页面提示信息:pronounce it

查看源码获得提示:peak hell sounds familiar ? 

有个src:http://www.pythonchallenge.com/pc/def/banner.p

pythonchallenge Level 5

使用pickle处理banner.p

from urllib.request import urlopen
import pickle

url = "http://www.pythonchallenge.com/pc/def/banner.p"
html = urlopen(url)

for line in pickle.load(html):
    for info in line:
        for i in range(info[1]):
            print(info[0],end="")
    print("")

打印出下一关信息

pythonchallenge Level 5

获得下一关地址:http://www.pythonchallenge.com/pc/def/channel.html

上一篇:PC端申请表


下一篇:Redis源码解析之跳跃表(一)