`

Python Challenge (level 5)

阅读更多
URI: http://www.pythonchallenge.com/pc/def/peak.html

说明:
peak hell 读出声来 Pickle
source page中有如下显示查看http://www.pythonchallenge.com/pc/def/banner.p


解题方法:
import pickle, urllib

handle = urllib.urlopen("http://www.pythonchallenge.com/pc/def/banner.p")
data = pickle.load(handle)
handle.close()

for elt in data:
    print "".join([e[1] * e[0] for e in elt])


过关答案:
channel
             
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics