f=lambda n,v="print ",i="":i+(v[:-1]if n>10 else"for v%d = %d to 9\n"%(n,n<2)+f(n+1,v+"v%d,"%n,i+" ")+i+"next")+"\n" print f(1)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page