Numbering by pv2b

def f(d,p):
 for s in'123'*(d>0):print p+s;f(d-1,'   '+p+s+'.')
f(input(),'')

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

download

return top