Richard Jones' Log: Friday silliness

Fri, 24 Aug 2007

Seen on the PyWeek message board:

from socket import*;s=socket();s.connect(("",80));s.send("GET /5/entries/ HTTP/1.0\n\n");x=""
while True:
False=sum([not True for a in x.split("<dt")[0:-1]])
print False or True

Code by neko.

By the way, the next challenge is a little over a week away. Have you signed up yet? Why not? :)

Comment by David (Neko) on Mon, 03 Sep 2007

I'm famous!