27c3_Generate C by 27c3.darkc

n=input()
a,b="  ##"*n+"\n","#   "*~-n+"#\n"
print 4*' %s'%(a,4*b,b,a)

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

download

return to the top page