For Loop by evilbungle

f="  print ";r="%s";v=0;exec's="  "*v;v+=1;r%=s+"for v%s = %d to 9\\n%%s\\n%snext"%(v,v<2,s);f+="v%s,"%v;'*10;print r%(s+f[:-1])

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

download

return to the top page