ON bit fixed by hallvabo (random)

n=id(0)%7;k=n-2&3;s='0'*k+~-n%31*'1'
while~k:print s;k=s.rfind('01');s=s[:k]+'10'+s[:k+1:-1]

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

download

return to the top page