Sierpinski Fractal by hirose

n=2**input();s=1
while n:
\x09n-=1;k=" "*n;t=s
\x09while t:k+="  /  _/ _\ \\"[t&3^1::3];t/=4
\x09s^=s+s;print k[s&2:]

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

download

return top