27c3_Generate C by recursive

n=input()
t=" "+"  ##"*n+"\n"
m="#   "*~-n+"#\n"
print t+" "+m*4+" "+m+t

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

download

return to the top page