Divide the rectangle by hirose

for x,y in zip("abcdefghi",[18,15,7,8,14,4,10,1,9]):s=" "+x;exec x+"=s*y"
for i in[a+b]*15+[a+c+d]*3+[e+f+c+d]*4+[e+g+h+d]+[e+g+i]*9:print i

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

download

return to the top page