R=range(81) for b in R: s="" for x in R: \x09y=b;w=27 \x09while w and(x/w+y/w)%2==0:x%=w;y%=w;w/=3 \x09s+=" X"[w<1] print s
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page