Stars and Bars by mitchs

def f(n,s=''):n<9or f(n-10,s+'*');n%10<2or f(n-1,s+'|');n>1or print(s)
f(int(input()[::2]))

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

download

return to the top page