the-honk/python/pythonchallenge.com/5 - Peak Hell.py
2024-10-09 18:02:48 +01: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]))