Use each to loop through a hash
zip = { 2 => "A", 5 => "T", 3=> "h", 4 => "e", 8 => "T" } zip.each {|k,v| puts "#{k}/#{v}" } # =>