Nest the 0 by undergroundmonorail

a=''
while 1:b=input(a);a='%s0%s\n'%('['*b,']'*b)

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

download

return to the top page