More Methods, More Solutions

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

https://www.codecademy.com/courses/ruby-beginner-en-Qn7Qw/2/5?curriculum_id=5059f8619189a5000201fbcb
<In what way does your code behave incorrectly? Include ALL error messages.>

Oops, try again. It looks like you didn’t print out memento using puts.

```

movie_ratings = {
memento: 3,
primer: 3.5,
the_matrix: 3,
truman_show: 4,
red_dawn: 1.5,
skyfall: 4,
alex_cross: 2,
uhf: 1,
lion_king: 3.5
}

Add your code below!

movie_ratings.each_value { |k| puts k, " " }

<do not remove the three backticks above>

Instructions

Go ahead and print out just the titles of our movies using puts.

The titles are the keys in this hash.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.