Stars and Bars by mitchs

f(n,s="")=(n>9&f(n-10,Str(s"*")))+(n--%10&f(n,Str(s"|")))|!print(s)
f(input())

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

download

return to the top page