def f(s,i): for x in"123"*(i>0):print s+x;f(" "+s+x+".",i-1) f("",input())
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page