16/16 Iterating Over A Hash


#1



https://www.codecademy.com/en/courses/ruby-beginner-en-F3loB/3/3?curriculum_id=5059f8619189a5000201fbcb#


Oops, it looks like your code didn't print anything to the console.


lunch_order = {
  "Ryan" => "wonton soup",
  "Eric" => "hamburger",
  "Jimmy" => "sandwich",
  "Sasha" => "salad",
  "Cole" => "taco"
}
lunch_order.each do |Name, Order| 
    print "#{Order}"
end





Not at all sure what is wrong here, I am literally going back to past notes.


#2

Hi this line

lunch_order.each do |Name, Order|

remove the uppercase N and O to name and order then you should change the print with puts


#5

Just a heads up to anyone else on this one.

OP was using an incorrect output command.
"puts" is requested to be used, not print.