Koch Island by recursive

B="/\\","\\/"
exec r'B=["".join(" /\\"[t>>ord(c)%7%5*8+i&3]for c in b for i in[0,2,4,6])for b in B for t in 9792,4233,1122,38913];'*input()
print"\n".join(B)

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

download

return top