-10.upto(10) do |number| next if number == 0 puts "1/" + number.to_s + " = " + (1 / Float(number)).to_s end