Sierpinski Fractal by MarkByers

_=' /\\','/__\\'
exec"_=[len(_%s+[i+i.find('/'%s;"%((")*' '+i for i in _]",)*2)*~-input()
print'\n'.join(_)

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

download

return to the top page