def f i=0 i>9?" "*20+"print v"+[*1..i]*",v":"#{t=" "*i}for v#{i+=1} = #{1/i} to 9 #{f i} #{t}next"end $><