第5关地址:http://www.pythonchallenge.com/pc/def/peak.html
页面提示信息:pronounce it
查看源码获得提示:peak hell sounds familiar ?
有个src:http://www.pythonchallenge.com/pc/def/banner.p
使用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("")
打印出下一关信息
获得下一关地址:http://www.pythonchallenge.com/pc/def/channel.html