r=["print v1",*2..10]*",v";0.upto(9){|i|r="for v#{10-i} = #{i/9} to 9 #{r.gsub /^/," "} next"};$><