2/15 Iterating Over Hashes



I don't know what's wrong. I followed the instructions exactly. The hint tells me exactly what to put for the "puts" statement, but I still get it wrong. I get this error message: "Oops, try again. It looks like you didn't print Yukihiro using puts."
Please help me understand this lesson,.

matz = { "First name" => "Yukihiro",
  "Last name" => "Matsumoto",
  "Age" => 47,
  "Nationality" => "Japanese",
  "Nickname" => "Matz"

matz.each do |key|
    puts matz[key]


For your block parameters provide a placeholder for both key and value.

matz.each do |key, value|
    puts "#{key} => #{value}"

or the way you have it, just with two parameters.

puts matz[key]