Solutions for the Python Challenge

Show possible solutions for: All levels; level: previous, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, next

Possible solution for level 8

URI:
http://www.pythonchallenge.com/pc/def/integrity.html
Log-in data:
Username: ; password:
Comment:
Possible Solution:
import bz2

un = "BZh91AY&SYA\xaf\x82\r\x00\x00\x01\x01\x80\x02\xc0\x02\x00 \x00!" \
     "\x9ah3M\x07<]\xc9\x14\xe1BA\x06\xbe\x084"
pw = "BZh91AY&SY\x94$|\x0e\x00\x00\x00\x81\x00\x03$ \x00!" \
     "\x9ah3M\x13<]\xc9\x14\xe1BBP\x91\xf08"

print [bz2.decompress(elt) for elt in (un, pw)]

(Download this source code.)

Code word for next challenge:

By Holger Thölking, May 29th, 2007.