the-honk/languages/python/pythonchallenge.com/5 - Peak Hell.py
2022-01-05 20:25:29 +00:00

8 lines
No EOL
203 B
Python

import pickle
import urllib.request
raw = urllib.request.urlopen('http://www.pythonchallenge.com/pc/def/banner.p')
data = pickle.load(raw)
for line in data:
print(''.join([k * v for k, v in line]))