for i in[0]*7:n=input();exec"x=' _'[i%n+2>n+i/3/n]*n;print(' | '[i/n]+x+'|'+x+' | '[i/n]).rstrip();i+=1;"*4*n
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page