1*1=1 1*2=2 2*2=4 ....
https://ruby-china.org/topics/16483
#1 楼 @piecehealth 很好 很强大
(1..9).each do |i| (1..i).each do |j| print "#{j}*#{i} = #{i*j} " end print "\n" end