Tags:python • chanllenge • 第五关 python chanllenge 第五关 #/usr/bin/python3 import re import pickle import urllib.request url = "http://www.pythonchallenge.com/pc/def/banner.p" res = urllib.request.urlopen(url) data = res.read() pick = pickle.loads(data) for line in pick: print(''.join(map(lambda pair: pair[0]*pair[1], line))) Previous article Next article