For Loop by leonid

y='print '
x=0
exec"x+=1;y+='v%d,'%x;print'  '*min(x-1,21-x)+[y[:-5],'next','for v%d = %d to 9'%(x,1/x)][cmp(x,11)];"*21

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

download

return to the top page