ON bit fixed by twobit

def f(s,x,y):
 if x<1:print s
 for c in 0,1:c<=y<x+c and f(s+`c`,x-1,y-c)
b=id(0)%5or 30
f("",b+b%3+2,b)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page