a,b,c,d,e=[1,4],[2,13],[11],[21],[31]\x0d f=c+[4]\x0d print'\n\n'.join('\n'.join(' '*(i/10)+'[]'*(i%10)for i in n)for n in[a+[1],a+c,a+d,a+e,f+c,f+d,[3,23],b+c,b+d,b+e,[2,12,22]])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).